[BUGFIX] Correct permissions for root page setting up empty site 45/55245/2
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 2 Jan 2018 18:38:14 +0000 (19:38 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 3 Jan 2018 08:04:02 +0000 (09:04 +0100)
Use the correct maximal permission "31" for the root page when setting
up an empty site during the installation process instead of "32" which
leads to non-editable permissions for that page even by an admin.

Resolves: #83369
Releases: master, 8.7, 7.6
Change-Id: I092f32b48c2a6deb79727fd6a1f8730829161287
Reviewed-on: https://review.typo3.org/55245
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/install/Classes/Controller/Action/Step/DefaultConfiguration.php

index f2ccef7..d351bfc 100644 (file)
@@ -68,8 +68,8 @@ class DefaultConfiguration extends AbstractStepAction
                         'is_siteroot' => 1,
                         'perms_userid' => 1,
                         'perms_groupid' => 1,
-                        'perms_user' => 32,
-                        'perms_group' => 32,
+                        'perms_user' => 31,
+                        'perms_group' => 31,
                         'perms_everybody' => 1
                     ]
                 );