Document actions based on user rights/role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 09:26 AM
Is there a way to limit the available document actions (shown in document-browse or document-details view) based on user role or access rights?
Regards,
Zsolt Putnoky
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 06:45 PM
Yes, and it is already being done by default. If you read Jeff Potts' tutorial on custom actions, you'll read about the basic configuration to restrict actions based on permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2017 02:54 AM
Hi Axel,
I know it is done by default, tested it yesterday. Here is what I need to be able to do. A folder manager or contributor should be able to change properties and run some custom actions we developed, the users with read only or collaborator rights should be able to read the documents and do nothing else.
I will check the link later today, hope I will be able to use it.
Regards,
Zsolt Putnoky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2017 11:12 AM
Hi Axel,
Read the doc you proposed and got few questions. I would like to remove almost all the OOTB document actions regardless the user assinged role in the site or in the folder. To do this, do I need to modify the share-config-custom.xml by creating an entry for each action to be removed for each role type? It is a copy/paste operation once the initial set is done, but I am wondering whether a more simple solution exist?
Regards,
Zsolt Putnoky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2017 01:44 PM
https://github.com/keensoft/alfresco-simplify-share
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 02:44 AM
Hi Angel,
Thanks alot, will check it out today!
Regards,
Zsolt Putnoky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 04:53 AM
Hi Angel,
A question, am I able to select which action is visible and which is not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 04:55 AM
You can modify/tune the project and compile it again:
ACTIONS - alfresco-simplify-share/removed-actions.xml at master · keensoft/alfresco-simplify-share · GitHub
DOCUMENT ELEMENTS - alfresco-simplify-share/removed-elements.xml at master · keensoft/alfresco-simplify-share · GitHub
LIBRARY ELEMENTS - alfresco-simplify-share/simplify-share/src/main/amp/config/alfresco/web-extension/site-webscripts/es...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 05:29 AM
now I just need to learn how to modify/tune/compile your code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 10:52 AM
Hi Angel,
Had a look on the code and I am not sure this would do what I am looking for. Here is the issue we would like to fix in our proof-of-concept implementation: using the default OOTB document actions, we would like to create a custom, corporate wide document action group for each user role. Then check the role assigned to the logged in user for a given site and show only those actions which are in the corresponding group.
I tried to create a chained evaluator, which removed the action, but for all users, searched the forum but found nothing.
Do you have any ideas how to solve this problem?
Regards,
Zsolt Putnoky
