Hello,
I'm new on Alfresco and I would like to know how to manage permissions to give only access for some users to add users on sites.
I made some tests and I see that with the role Manager a user can add others users on spaces but it's too many permissions for me.
Is there a way to give only this permission?
Kind regards,
T.
Solved! Go to Solution.
Hi test,
For your HelpDesk team I would create a new permissionGroup like explained here Defining permissions | Alfresco Documentation .
I would include the following permission Groups (ReadPermissions and ChangePermissions)
Don't forget not to modify directly the permissionDefinitions.xml but overload it as Alfresco Best Practices
Tell me how it works out.
Simon
Hello Test,
As you invite users in your Site, as Site Manager you can decide which role you will give them in your Site.
Here is documentation about managing site members:
Managing site members | Alfresco Documentation
and the different roles (look at the contributor and collaborator roles) you can assign and their permissions:
User roles and permissions | Alfresco Documentation
Hope it helps,
Regards,
Simon
Hi Simon,
I would like to create a custom role, who users can only manage permissions on sites.
This will be used for HelpDesk Team, I only want they can add users and nothing else.
Any idea?
Thanks.
T.
Hi test,
For your HelpDesk team I would create a new permissionGroup like explained here Defining permissions | Alfresco Documentation .
I would include the following permission Groups (ReadPermissions and ChangePermissions)
Don't forget not to modify directly the permissionDefinitions.xml but overload it as Alfresco Best Practices
Tell me how it works out.
Simon
Hi Simon,
Thank you for your reply. Could you please tell me more about Alfresco BP to define new permissions?
Thanks.
T.
Hi Test,
So the Best Practice is not to change the default permissionDefinitions.xml file but to create a new configuration file that will override or add new permissions. By the way almost all alfresco adaptations and customisations work that way.
Check out a concrete example at :
You can see in the customPermissionDefinitions.xml that they have defined new roles and which are included permissions. You need to see it as lego building blocks ;-)
. In the bootstrap-context.xml file you can see that the customPermissionDefinitions.xml is loaded in the environement.
Regards,
Simon
Hi Simon,
I'm not familiar with Alfresco, where do I have to put these files on my server?
With bootstrap file, I can use new permissions like CancelCheckOut, ChangePermissions, CreateChildren, Delete, Write... right?
Thanks in advance.
T.
Hi test,
If you are not very familiar with Alfresco extensions please check out the development section of the documentation:
Developer guide | Alfresco Documentation
The bootstrap.xml file should only be used to load external ressources when alfresco starts-up.
In your case look more at the customPermissionDefinitions.xml file and then put in your bootstrap.xml so it's loaded when alfresco starts-up.
And if you have time to invest, check out this book to have a good understanding of alfresco globally.
Alfresco One 5.x Developer's Guide - Second Edition | Now just $10
Hope it helps
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.