cancel
Showing results for 
Search instead for 
Did you mean: 

Remove 'All' permission for a new user Created in Alfresco

pankajs
Champ in-the-making
Champ in-the-making
Hi,

I am using Alfresco 3.4.d community version. When I create a new user in Alfresco the user has "All" permission in space "My Home". I want to change the "All" permission to the "Consumer" permission.
Please help your little help will be more appreciable.


Thanks
1 REPLY 1

vmustafayev
Champ in-the-making
Champ in-the-making
Hi.
In Webscript (JS) u can do this so simply :

//Get userhomeSpace node
userhomeSpace.removePermission("All", "yourCreatedUname"); //Remove all permission
userhomeSpace.setPermission("Read", "yourCreatedUname"); //Give read permission (only Read = Consumer)