
andycheek (Customer) asked a question.
We have successfully created custom Aveksa entitlements (i.e. internal G&L privileges) based on the current users relationship to an attribute of the target object, e.g. application owners have view access to groups belonging to the application as shown below:
group.application_id > application & application.owner > user
What I haven't been able to work out is how to create a custom entitlement which not only defines the scope of target objects based on an attribute but also defines the constraint of users assigned the entitlement by virtue of something else such as membership of a specific group/set of group:
report.category = 'xxxx' AND user is in group 'group name%'
Has anyone done anything similar & if so how? What does your custom SecurityContext entry look like?
I used something like this to grant birthright view rights on a specified set of reports to some set of users based on a specific criteria
Report Definition,BLABLA Reports Access,Run,"t_master_enterprise_users where id=(select distinct ent_owner from pv_unified_entitlement where application_name='BLABLA' and ent_owner=${id})",,,V_LIST_REPORTS,"scope.REPORT_NAME in('xxxxx','yyyy')"