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?