Group Functions - Getting Error for the Basic Users

Hi All,

We are using Group Functions Plugin to get the list of users and their corresponding Group membership for an environment. We have created a report to display the same for all the users as per the request. But only Admins are able to access the report rest all the Basic Users are getting following error

Expression evaluation error in rule 'agu_getgroupandcorrespondingusersdictionary' at function 'getgroupmemberuserspaging' [line 4]: PrivilegeException[null=>null]: Insufficient permission

As Far As I can understand only Administrators can access the data via this Plugin. Correct?

If YES, Is there any other way through which we can extract the data and display to the users in a Report.

 

Thanks

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer
    Hi Prakhar,
    1st thing you can check your script task/custom plugin node "Assignment tab" is running as "whoever designed the process model" but not "whoever started the process model" because it is not being assigned to anyone, system will run as whoever initiated process model which is basic user and don't have access to Amin info.
    so you are getting privilege Exception.
    (hare I am assuming that you are using plugin function in script task or you have custom smart service)
    hope this will solve your issue.
  • No, Basic users can also use this plugin functions. We have used these plugin functions in a site under record filter options to bring the list of users in a particular group as a drop down. So, please double check the context and the security while using the functions.