cancel
Showing results for 
Search instead for 
Did you mean: 

Inheriting ACL from multiple parent folder

mahatma
Champ in-the-making
Champ in-the-making
Is it possible in Alfresco CE to have a document (cm:content) that inherits ACL from all "parent" folders? I mean…not only from "primary" parent folder".
Example:
document: D1 (ACL user1=Editor)
primary parent Folder: F1 (ACL user2=Contributor)
secondary parent Folder: F2 (ACL user3=Collaborator)

D1 is present in F1 as primary child association (cm:contains) and is present also in F2 as secondary association (cm:contains).

I need that ACL of Document D1 would be as:
ACL user1=Editor, ACL user2=Contributor, ACL user3=Collaborator

Of course, if ACL change on Folder F2 they should change on Document D1 too…
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
No.

ACLs are inherited from the parent folder only.

However a node may have is own ACL if it needs something special.

mahatma
Champ in-the-making
Champ in-the-making
Thanks mroger for you response.
When you say "from parent folder only" I think you mean from "primary" parent only, right?
To be sure I have understood, an example: in Alfresco Web Client, if I run a script that invoke "space.addNode(nodeRef)" for n different spaces, after execution I could see the same document (nodeRef) in all n different spaces and I would like that document inherits from all parent spaces rather than "primary" parent only, if the flag "inherits" is set to "true" on document profile. Is it possible to change this behaviour? Via Alfresco Java API?