Sorry for the trivial question,
but why in the sites I can't see the "Editor" and "Coordinator" roles?
I can see these roles only in the repository:
Thanks in advance
There simply are different permission group ("role") definitions for the site context vs. the global context. The "Manager" is what a "Coordinator" would be in the global context. A "Editor" role simply does not exist in a site context, as it was deemed unnecessary for a context aimed at collaboration in the style of a SharePoint workspace / site.
Technically speaking though, all the global context roles are also "available" within the site context, they are merely not shown in the UI to avoid (more) confusion when similarly named roles would are present. Furthermore, the "Collaborator" role in sites is not even named "Collaborator", but "SiteCollaborator" - same for the other site context roles - and the label used in the UI is another simplification.
Hi @LorenzoD ,
have you defined site-permission.xml and registered it correctly?. I think you can create or remove roles in this site-permission.xml and customize it accordingly.
Thanks and Regards,
Piyush
Thank you for the answers.
@piyush48, In order to custumize the roles , I should copy the permissionDefinitions.xml, custom the file as I prefer, and than insert that in the following path:
.../shared/classes/alfresco/extension
and restart alfresco.
Right? or something wrong?
Thank you again
@LorenzoD I think @afaust has already clarified the details which basically covers your questions.
Another replies are diverting from original questions. I would request you to close this thread and start a new thread if you see issues with defining custom roles.
Just refer to these documentations/posts and create new thread if you see any issues :
5.2: https://docs.alfresco.com/content-services/5.2/develop/repo-ext-points/permissions/
6.2: https://docs.alfresco.com/content-services/6.2/develop/repo-ext-points/permissions/
7.0: https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/permissions/
http://smasue.github.io/add-custom-role
A sample project may be helpful to refer: https://github.com/zhihailiu/alf-custom-role
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.