Hi, i have a problem with permissions. I have a simple interface to setup permissions for group on an attachment (children node of current node), for all groups it performs (for READ and READ_CONTENT):
m_permissionService.deletePermission(m_nodeAttachment, (String)group.getValue(), PermissionService.READ);
then, the new set of permissione get applied (for READ e READ_CONTENT):
m_permissionService.setPermission(m_nodeAttachment, selected, PermissionService.READ, true);
This fail if i'm re-setting a permssion (teorically removed on the first step) on a group. Is this a bug or an intendev behavior ? in case it' a behavior, how can i check if an authority has or not a permission ?
I'm working with alfresco 1.4 RC1 since i need the new features.