Skip to content

Instantly share code, notes, and snippets.

@kitsunet
Created April 27, 2012 15:30
Show Gist options
  • Save kitsunet/2510182 to your computer and use it in GitHub Desktop.
Save kitsunet/2510182 to your computer and use it in GitHub Desktop.
TYPO3CR Policy
# #
# Security policy for the TYPO3CR package #
# #
resources:
entities:
TYPO3_TYPO3CR_Domain_Model_Node:
TYPO3_TYPO3CR_Domain_Model_Node_InLiveWorkspace: this.workspace.name == 'live'
TYPO3_TYPO3CR_Domain_Model_Node_NotInLiveWorkspace: this.workspace.name != 'live'
roles:
Everybody: []
TYPO3CR_Administrator: []
acls:
Everybody:
entities:
TYPO3_TYPO3CR_Domain_Model_Node_InLiveWorkspace: GRANT
TYPO3CR_Administrator:
entities:
TYPO3_TYPO3CR_Domain_Model_Node_NotInLiveWorkspace: GRANT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment