AnsweredAssumed Answered

AccessControlWebService or PermissionService

Question asked by sans on Jun 3, 2011
Latest reply on Jun 3, 2011 by mrogers
In my project, I have to assign roles and permissions to a specifice space or node in Alfresco.
I looked into the books and online forums and came to know that you can do it using AccessControlWebService or PermissionService.
My questions:
1 What's the difference between AccessControlWebService.addACE and PermissionService.setPermission?
2 What's the difference between AccessControlWebService.setInheritPermission and PermissionService.setInheritParentPermissions?
3 Which one is better in terms of managing permissions?