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
Solved! Go to Solution.
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.
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.
I also have this kind of requirement, thanks for sharing the link.
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.