07-17-2015 06:25 AM
03-14-2018 04:44 PM
hi! did you find a solution for this ?
Regards!
03-14-2018 09:20 PM
I have not tested it myself, but reading the documentation, I noticed a small detail, that can be the reason it is not working the way you want it.
removePermission | Alfresco Documentation
The first variation:
removePermission(permission)
removePermission(permission) removes a permission for all users from the node.
The second one:
removePermission(permission, authority)
removePermission(permission, authority) removes a permission for the specified authority (for example, a user name or group) from the node.
So, it seems the first one is intended to be used with users only, and the samples you showed are all groups.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.