- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2017 02:50 AM
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.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 05:57 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2017 04:35 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 05:35 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 05:57 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2017 11:36 AM
Hi Simon,
Thank you for your reply. Could you please tell me more about Alfresco BP to define new permissions?
Thanks.
T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2017 04:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2017 03:32 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2017 05:58 AM
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
