[BUGFIX] Add editor permissions to pagetree 99/55099/2
authorSusanne Moog <susanne.moog@typo3.com>
Fri, 15 Dec 2017 17:05:11 +0000 (18:05 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 15 Dec 2017 17:53:15 +0000 (18:53 +0100)
The new pagetree repository implementation
did not check editor permissions and disallowed
any edit / show action for non-admins.

The fields to check permissions have been added.

Change-Id: I827d4b50302ee4d6c3268c44b43f93fa9ef0c870
Resolves: #83347
Releases: master
Reviewed-on: https://review.typo3.org/55099
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/Tree/Repository/PageTreeRepository.php

index 39fc4a1..5d1fda2 100644 (file)
@@ -61,6 +61,11 @@ class PageTreeRepository
         't3ver_stage',
         't3ver_tstamp',
         't3ver_move_id',
+        'perms_userid',
+        'perms_user',
+        'perms_groupid',
+        'perms_group',
+        'perms_everybody',
     ];
 
     /**