11-07-2019 01:55 AM
I would like to restrict emptying of trashcan by ordinary users. Permission to empty trashcan should have only users with admin role.
Is there any way how to solve this issue? For example to implement Java method used as evaluator before button displaying? Or any other sophisticated way, solution or implementation, how to secure this resctriction?
Thanks
11-07-2019 03:02 AM
You can add your restrictions to Share UI and to Repository service.
In order to hide the Share UI button for non Admin users, you can extend Alfresco.ConsoleTrashcan YUI object:
Regarding Repository service, you can create a new NodeServicePolicies.onDeleteNode behaviour listening to sys:archived nodes.
11-07-2019 03:02 AM
You can add your restrictions to Share UI and to Repository service.
In order to hide the Share UI button for non Admin users, you can extend Alfresco.ConsoleTrashcan YUI object:
Regarding Repository service, you can create a new NodeServicePolicies.onDeleteNode behaviour listening to sys:archived nodes.
11-20-2019 07:24 AM
I also have this kind of requirement, thanks for sharing the link.
Explore our Alfresco products with the links below. Use labels to filter content by product module.