Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 62009

Dynamic Row level security help

$
0
0

HI,

 

I have data like below for orders table and roles table.
Roles table:

johnbasha33_0-1603267751070.png

Orders table.

johnbasha33_1-1603267800986.png

Now Orders tables has 3 countries, US, UK, canada and Roles table has which country data accessed by which user.

 

Now based on user login to the report Orders table data has to be filtered with RLS.

 

How to do that?

 

As of now i dont have any relationship between these 2 tables.

 

Kindly help
           


Viewing all articles
Browse latest Browse all 62009

Trending Articles



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