Last active
October 17, 2017 14:14
-
-
Save aertmann/c2a25e2f1c01dfaf8dff875b8ae6cb7b to your computer and use it in GitHub Desktop.
Multi-site access restriction with Neos CMS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
privilegeTargets: | |
'Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\EntityPrivilege': | |
'Acme.Package:Site.Alpha': | |
matcher: 'isType("Neos\Neos\Domain\Model\Site") && property("nodeName") == "alpha"' | |
'Acme.Package:Site.Beta': | |
matcher: 'isType("Neos\Neos\Domain\Model\Site") && property("nodeName") == "beta"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment