cancel
Showing results for 
Search instead for 
Did you mean: 

disable 'Inherit Parent Space Permissions'

thestorm
Champ in-the-making
Champ in-the-making
Hi guys,

is there any way how i can by default disable that a new folder inherits the parent space permissions?
1 REPLY 1

mikemars
Champ in-the-making
Champ in-the-making
Hi,

I'm not sure if there is a way to do it using configuration, but you can disable inheritance using a behaviour.

So your behaviour would implement the OnCreateNodePolicy, you bind it to ContentModel.TYPE_FOLDER and within the onCreateNode method use the
permissionService.setInheritedParentPermissions(childAssocRef.getChildRef(), false);