[BUGFIX] Show deleted page actions in record history 10/54610/2
authorHelmut Hummel <typo3@helhum.io>
Tue, 7 Nov 2017 14:09:08 +0000 (15:09 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 20 Nov 2017 09:24:21 +0000 (10:24 +0100)
commit9ef9c10b8af9d6c201e3c6a8ac372f4db6f0cf51
tree215b4b8aef38d532ba7d97b5f7b5dafd1b96a3e8
parent6bf0b30a2352c154e941902b6fd333ac72245070
[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/54610
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/History/RecordHistory.php