You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is there a way in Groovy to getEvaluatedMembers / get ancestors with Administrator permissions?

Received Response
45
Views
2
Comments

Summary:

Would like to know if there is a simple way of using getEvaluatedMembers (or similar) with admin permissions, to pull back names of members in the hierarchy despite the end user not having any access to some members.

Content (please ensure you mask any confidential information):

I am using FlexibleDataGridBuilder, with 'false' as the parameter for building the grid with user security. I build a grid using admin dimensional security, but within a business rule kicked off by an end user running on save.

To help facilitate this I would take the end user's Cost Centre variable, find it's ancestors (using getEvaluatedMembers function), but to run this with admin permissions so that I can access all the ancestors even if the end user does not have access.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!