Action Filter based on WTGroup
Hello,
I want to introduce a filter for an action which should restrict a certain set of users.
The solution I thought was to associate the set of users to a group, created under Organization context, and the filter will validate if the current user belongs to the said group and if so the action will be hidden.
I used the below mentioned API to find the group based on the user but it is not giving me any output i.e. enumeration is empty
Enumeration enumeration = OrganizationServicesHelper.manager.parentGroups(validationCriteria.getUser().getPrincipal(),false);
Please provide an alternative way or an API I can implement.
Thanks and Regards,
Hari R

