security model
3 TopicsDynamic RLS with complex security module
Hi, I'm trying to create a Dynamic RLS for a complex security module, here are the table structure and relationship: Table 1. Users Username Company Code Role Type Access ID A A S B A A C A R 77 D B B Table 2. Roles Username Access Detail A 12345 A 67891 C 77 D 97 Table 3. Data ID Date Value Company Code Role S Role B Role R 1 01-01-2021 1 A 12345 77 2 01-01-2021 2 A 67891 3 01-05-2021 3 A 77 4 10-01-2021 4 B 97 As it's showing in the above Data Table, User "A" should be able to see the first 2 rows as Role S 12345 & 67891 are linked to user A in Roles Table and user A is in Company "A", User “C” should be able to see row 1 and row 3 as Role R is 77 and 77 is linked to user C and the user is in Company “A”, and finally User “D” should be able to see only row 4 as Role B is 97 and user Company is “B”. User “B” should be able to see everything as Role Type “A” is Admin. So, the relationship here is: Table 1 (Username) -> Table 2 (Username) Table 1 (Company Code) -> Table 3 (Company Code) Table 1 (Role Type) -> Table 3 (Role S, Role B or Role R) Table 2 (Access Detail) -> Table 3 Value of (Role S, B or R) I’ve tried different type of DAX expression but with no luck so far, any ideas that might help in resolving this? Thanks in advance,803Views0likes1CommentSecurity Model implementation in Power BI as same as Dynamic365
Hi Experts. Hope every one doing good. I am new to Power BI. I have a requiremet on Power BI reports, Please guide me to implement it. Connector details: Connector : Dataverse (Dynamic 365 CRM) Connectivity mode : Import Target Table/entity : Incident/Case Requirement : Need to implement Dynamic 365 security model in Power BI Reports. Below are the senarios. 1. When user A logs in, user A must see his/her owned records only. 2. When user A logs in, user A must see his/her owned records, team member records and reords shared to that team. (User A is like Team lead) EX : Sales Team has user A, user B, user C.. When user A logs in, he should see user A,B,C records and also records shared to the sales team. 3. When user A logs in, user A must see his/her Business unit records. EX: India business unit has user A, user B, user C.. When user A logs in, he should see user A,B,C records and not other Business unit records. 4. When user A logs in, user A must see his/her Business unit records and all child business unit records. EX: India (user A) I I I I Hyd (user B) Ban (user C) I I I I Hyd 1 (user D) Hyd 2 (user E) in above scenario User A should see, user A,B,C,D,E records. Please help me in this requirement.Solved1.5KViews0likes2Comments