[BUGFIX] Show deleted page actions in record history 79/54579/5
authorHelmut Hummel <typo3@helhum.io>
Tue, 7 Nov 2017 14:09:08 +0000 (15:09 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 9 Nov 2017 18:20:56 +0000 (19:20 +0100)
commit8b2dd6f1b4ea0fc373b0f6cafdfd08a92e373226
treee676922b4e4ff9e9331bd0e6b2dacba454cbb4f4
parent8766f3674e622ec5249bc92db1ff9c1c040c74e4
[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/54579
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Classes/History/RecordHistory.php