Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 49047

Re: Row level security with multiple roles

$
0
0

Hi ,

 

The issue is no yet solved.

I need to get a report as such where client_id = 2 and location_id =1  (Single client may have different locations). When i want to render a report , where the location_id is only 1.

 

So, How i can achive that?

The client and locationid can be dynamic. As 'username' in identities takes only single value where can i pass location_id like just 1?.

How my role level security created at the desktop?

 

In the above solution, when i create the role as such, i wil get a report for that particular client and all locations under that client. But, in this case i need a single location that is under client, i mean to say that location id and client id is send to the api at the time of embedding in the webapplication.

 

something like this ?

 

$clientid = "2";

{
"accessLevel": "View",
"identities": [
{
"username": $clientid ,$location_id
"roles": [ "Client","Location" ],
"datasets": [ "9b61d620-e6ac-41fc-b2c9-3f1d89241a03" ]
}
]
}

 

 

If their is something to solve this issue is very helpfull.

 

Thank you

Pallavi


Viewing all articles
Browse latest Browse all 49047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>