Skip to content
Snippets Groups Projects
Commit 6efe63ba authored by Benni Mack's avatar Benni Mack
Browse files

[!!!][TASK] Extract record access checks from TSFE

Record access checks are moved from TSFE to the
new RecordAccessVoter class. This encapsulates
corresponding logic at a central place.

In addition, the existing hook
$GLOBALS[TYPO3_CONF_VARS][SC_OPTIONS][tslib/class.tslib_fe.php][hook_checkEnableFields]
is removed in favor of the new PSR-14 RecordAccessGrantedEvent.

Resolves: #96996
Releases: main
Change-Id: Ic056eb4c62d9792ee62198ae346db5231576d1bb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73638


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 4c50bff0
No related merge requests found
Showing
with 561 additions and 60 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment