Hi there,
I've manage to show the cancel checkout action on the UI on Explorer by simply adding:
<globalPermission permission="CancelCheckOut" authority="GROUP_CancelCheckOut"/>
to permissionDefinitions.xml.
I also I'm able to show it for the admin on Share using a simple evaluator (user.isAdmin() is available from the RequestContext).
Now I'm having trouble making it visible depending if the user belongs to a group (using an evaluator will require access to AuthorityService which is not available from share).
Any ideas how I can do this?
Much appreciated
R