Forum Discussion
Row Level Security Only on Drillthrough
- 6 years ago
My solution:
1) Import original dataset, call it XXX
2) In modeling tab, create a new table and set it equal to my original dataset, call it XXX_Secure. (XXX_Secure = XXX)
3) Create a relationship between XXX and XXX_Secure on group name.
4) Configure Row Level Security on the USERPRINCIPALNAME on table Y.
5) Create relationship from table Y to XXX_Security on the group name.
6) Create bar chart off of XXX
7) Create drill through detail page, include all fields you need from XXX
😎 Also add the group name from XXX_Secure to the detail page and minimize the column so it can't be seen.
This will allow all users to see all the data in the bar chart regardless of group name. Every bar in the chart will have a drill through option, but clicking on them will return empty details except for the groups the person viewing the report has access to.
My solution:
1) Import original dataset, call it XXX
2) In modeling tab, create a new table and set it equal to my original dataset, call it XXX_Secure. (XXX_Secure = XXX)
3) Create a relationship between XXX and XXX_Secure on group name.
4) Configure Row Level Security on the USERPRINCIPALNAME on table Y.
5) Create relationship from table Y to XXX_Security on the group name.
6) Create bar chart off of XXX
7) Create drill through detail page, include all fields you need from XXX
😎 Also add the group name from XXX_Secure to the detail page and minimize the column so it can't be seen.
This will allow all users to see all the data in the bar chart regardless of group name. Every bar in the chart will have a drill through option, but clicking on them will return empty details except for the groups the person viewing the report has access to.
Can you please make the reference more easy to understand.