09-24-2020 08:13 AM
Hi,
When I disable inherit permission from Share for a particular node, the default site manager permission is automatically applied to that. But when I disable inherit permission through permission service, it will disable the permission even for the site manager.
this.permissionService.setInheritParentPermissions(node,false);
This doesn't apply the site manager permission on the given node. But it should not work like that because site manager should have all the access on the site.
How can I get the site manager permission even if an inherit permission is disable through permission service?
Please guide me through this.
Thank you.
09-24-2020 11:57 AM
It is the default behavior on share ui. It defaults site manager RBAC as far as i know.
When you are using java api, you need to set the permission to site manager and disable inheritance if this what you are trying to achieve.
https://docs.alfresco.com/6.0/references/dev-services-permission.html
09-24-2020 11:57 AM
It is the default behavior on share ui. It defaults site manager RBAC as far as i know.
When you are using java api, you need to set the permission to site manager and disable inheritance if this what you are trying to achieve.
https://docs.alfresco.com/6.0/references/dev-services-permission.html
09-25-2020 05:27 AM
Thank you for accepting the solution - helps other users to see what has worked.
Cheers,
Explore our Alfresco products with the links below. Use labels to filter content by product module.