cancel
Showing results for 
Search instead for 
Did you mean: 

change owner after node creation

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

i recently discovered Alfresco and i want to extend it. In a use-case I want to change the behavior of a node creation. All user are assigned to a group. I want to check whether the user has a specific role on the parent directory. If this is the case, I want to change the owner to the group the user belongs to. i dont know where to start… actions, behaviors or aspects?

best regards
Hajo Kliemeck
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
I suggest you leave the concept of "ownership" alone.

What is it that you are trying to achieve with your role?    You probably just want to use permissions.

h0nig
Champ in-the-making
Champ in-the-making
The user belongs to a group of which he inherits the role/permissions for a special directory. If he creates a node in the folder, he is the owner and not the group. I want to make the group the owner of the node. that's it Smiley Happy

best regards
Hajo Kliemeck