There is no Alfresco APIs that allows you to create a custom role. You need to add your custom permissions group in the permissionDefinitions.xml, you can find more details here: http://wiki.alfresco.com/wiki/PermissionModelDefintionExample Hope this helps.