[TASK] Clean up user permission checking in FE request handling 00/55900/2
authorBenni Mack <benni@typo3.org>
Mon, 26 Feb 2018 06:56:02 +0000 (07:56 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 26 Feb 2018 09:34:52 +0000 (10:34 +0100)
commit6b18e40b1ba8191c8ef85da18b88a25e9f817082
tree6f0d049fac53e3171826d9085b135ce3d283d8c0
parentda59154044d940ad9f97794f201776ff7bc31c55
[TASK] Clean up user permission checking in FE request handling

The PHP code for checking if a backend user is allowed to preview
a page should use the Permission bitmask.

Additionally, the check extPageReadAccess() is a sub-method
of FrontendBackendUserAuthentication object, which checks the webmount
and the page permissions, however, "doesUserHaveAccess" also
checks for the webmount availability.

Resolves: #84042
Releases: master
Change-Id: Ibf8795d41bf9e624c64e07ee6ead34d741fb0bc2
Reviewed-on: https://review.typo3.org/55900
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Http/RequestHandler.php