Created
June 6, 2015 14:54
-
-
Save Torsten85/9c765ddc1ef17028ccb8 to your computer and use it in GitHub Desktop.
Goal is to have a page (node) that shows up when you are not logged in, and is hidden when you are.
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
# # | |
# Security policy for the TYPO3.NeosDemoTypo3Org package # | |
# # | |
privilegeTargets: | |
'TYPO3\TYPO3CR\Security\Authorization\Privilege\Node\ReadNodePrivilege': | |
'TYPO3.NeosDemoTypo3Org:RegisterPage': | |
# e5335cad-2647-db8a-c15d-a5d69cf0d612 is the node identifier of the "register" node | |
matcher: 'isDescendantNodeOf("e5335cad-2647-db8a-c15d-a5d69cf0d612")' | |
roles: | |
'TYPO3.Flow:Everybody': | |
privileges: | |
- | |
privilegeTarget: 'TYPO3.NeosDemoTypo3Org:RegisterPage' | |
permission: GRANT | |
'Flowpack.Neos.FrontendLogin:User': | |
privileges: | |
- | |
privilegeTarget: 'TYPO3.NeosDemoTypo3Org:RegisterPage' | |
permission: DENY | |
'TYPO3.Neos:Editor': | |
privileges: | |
- | |
privilegeTarget: 'TYPO3.NeosDemoTypo3Org:RegisterPage' | |
permission: GRANT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment