AnsweredAssumed Answered

Show action depending on group

Question asked by drocco88 on Oct 3, 2012
Latest reply on Oct 5, 2012 by drocco88
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