I'm trying to add custom permissions in alfresco, I found this to be relevant actually :
When I tried it, I'm not able to get the desired result. But, by changing the sitePermissionDefinitions.xml directly inside the alfresco-repository-5.2.g.jar file which is located inside alfresco-community/tomcat/webapps/alfresco/WEB-INF/lib works fine. The problem with this approach is that, whenever I deploy an .amp file, the jar file gets overwritten and all the new permissions I created is gone.
Can anyone point me to the right direction on how this can be done.