Trying to create my own custom permission role. The documentation says:
"The UI labels for the ACME roles are controlled by the following properties:
roles.webpublisher=Web Publisher roles.acmecoordinator=ACME Coordinator roles.acmecollaborator=ACME Collaborator roles.acmeeditor=ACME Editor roles.acmecontributor=ACME Contributor roles.acmeconsumer=ACME Consumer
That is all that is needed to add new custom permissions."
After I assign my custom role through an API call it indeed shows up like defined in the roles property, however I would like my custom role to also be selectable in the dropdown when assigning permissions through share. Unfortunately I just see the 4 default roles there. How can I add my custom role to that list?
Solved! Go to Solution.
Of course I find the solution right after posting, based of a comment in this github repo:
<!-- copied from sitePermissionDefinitions.xml;
need everything in the permissionSet, even though only change SiteCollaborator -->
When I did this and just added my own custom role, it suddenly shows up and becomes selectable. I can't delete my post so leaving this solution here for other devs in the future.
Of course I find the solution right after posting, based of a comment in this github repo:
<!-- copied from sitePermissionDefinitions.xml;
need everything in the permissionSet, even though only change SiteCollaborator -->
When I did this and just added my own custom role, it suddenly shows up and becomes selectable. I can't delete my post so leaving this solution here for other devs in the future.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.