AnsweredAssumed Answered

Adding new permission Group, in an Alfresco module?

Question asked by ajmas on Jan 27, 2011
Latest reply on Feb 1, 2011 by ajmas
I am developing an add-on module for Alfresco and I would like to add a new Permissions group, though I would like to avoid having to modify the permissionDefintions.xml file in the vanilla Alfresco installation. What I am wanting to do is add an 'Approver' permissions group that would include both contributor and editor, but include a 'approveContent' permission. This group should then be available in the returned list when I do permissionService.getSettablePermissions ( NodeRef ), where the NodeRef corresponds to a folder node.

Can anyone suggest the best way to go about this?

In the meantime I did try adding my new permissionGroup in the permissionSet for "cm:object" and adding the permissionsGroup to the permissionSet for "cm:folder", but that did seem to do anything visible. I even tried adding a permissionSet corresponding to an aspect I defined, but that ended throwing a NulPointerException. I also looked at the following Wiki page, but I am still a little confused:….