[BUGFIX] Show deleted page actions in record history
Because users have no access to deleted pages, the access check always fails, leading to delete page actions not being shown in the history despite being properly tracked. We now check this case and do a more lightweight check so that we still have the permissions checked, but can show deleted pages without disclosing unwanted information. Resolves: #45056 Releases: 7.6, 8.7, master Change-Id: Id919a24651c18a351f9723e86610b525a4f4726c Reviewed-on: https://review.typo3.org/54580 Reviewed-by:Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org>
Showing
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php 1 addition, 0 deletions...es/Controller/ContentElement/ElementHistoryController.php
- typo3/sysext/backend/Classes/History/RecordHistory.php 22 additions, 4 deletionstypo3/sysext/backend/Classes/History/RecordHistory.php
- typo3/sysext/backend/Resources/Private/Partials/RecordHistory/History.html 1 addition, 1 deletion...end/Resources/Private/Partials/RecordHistory/History.html
Please register or sign in to comment