Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

RLS row level security - not showing online

Hi Everyone -  I have created the following role in my sales table.   

 

[Salesperson (groups)] = "HSRs"

 

In the online enviornment, if I choose "test role", it works perfectly and only shows the 5 sales people (the HSR team) affiliated with their sales.     I can see it using "test role", but the actual users still see ALL of the other sales teams' information.  

 

Even though in the online service I have added their email addresses to this role.   

 

Any suggestions?    I have also tested this with a single user, and using the UPN value, and the same thing.   I can test the role perfectly fine....but the actual users are still seeing all of the information...not just their own information which is what they should see.  

 

What would cause the "test role" enviornment to work, but not actually show correctly to the other users?    

  • That's correct, it's just them being members that is causing RLS to be ignored.

13 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Yes, they are.   It is a premium workspace and they are members of it.   

       

      The data is imported from Excel, and lives in OneDrive.