mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Add site tree inherited permisssions service
This commit is contained in:
parent
ddda763710
commit
d8e5037eb4
@ -6,8 +6,13 @@ SilverStripe\Core\Injector\Injector:
|
||||
class: SilverStripe\Security\InheritedPermissions
|
||||
constructor:
|
||||
BaseClass: SilverStripe\CMS\Model\SiteTree
|
||||
CacheService: '%$Psr\SimpleCache\CacheInterface.InheritedPermissions'
|
||||
properties:
|
||||
DefaultPermissions: '%$SilverStripe\SiteConfig\SiteConfigPagePermissions'
|
||||
GlobalEditPermissions:
|
||||
- CMS_ACCESS_LeftAndMain
|
||||
- CMS_ACCESS_CMSMain
|
||||
SilverStripe\Security\InheritedPermissionFlusher:
|
||||
properties:
|
||||
Services:
|
||||
- '%$SilverStripe\Security\PermissionChecker.sitetree'
|
||||
|
Loading…
Reference in New Issue
Block a user