11-25-2021 10:31 AM
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?
11-25-2021 10:58 AM
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.
11-25-2021 10:58 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.