I've been struggling with a design for custom permissions to our app and could use some advice.
I've got a few custom actions that I want to expose through Share forms. These actions manage a specific custom model types, nodes of which may exist in any space in the repo. The application I'm porting to Alfresco follows the RBAC pattern and it does seem logical to me to assign the permissions for these actions to custom ROLEs in Alfresco.
I'm struggling however to work out how this can/should be implemented.
First, is it possible/advisable to protect action method through the security configs?
Second, if I create a custom role, say it's "ROLE_CUSTOMTYPE_DESIGNER" what would be the best way to allow admins to assign this role to arbitrary groups?
Thanks!
-Patrick