Forum Discussion

Chanleakna123's avatar
Chanleakna123
Icon for Post Prodigy rankPost Prodigy
6 years ago
Solved

RLS ( with a hundred users )

hi , i have around 100 users difined by Admin( Can see all the pages in the report ) , Area Sales Manager ( Can see only their region ) . My purpose is to define each users to see only what i set , so i will use RLS , 

but currently , i'm facing issue : i have to set up 1 by 1 of each email address , for 100 users , i think this is not a solution. 

Do i have any calculation to get into relationship and then set it all in once ? 

I have a table of : 

*Name :

*Email :

*Defined level RLS : Admin or Area Sales Manager

 

how to set it all up it once ? 

 

Another question : for those who are not in the list such as CEO ,  i only share her the access email , can she see all of the data instead using the table defined by RLS ? 

 

thx 

8 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable
    I don't know too much about RLS - but I'm sure you can apply 'user groups' rather than individuals. Sounds like you already have these defined.
    • Chanleakna123's avatar
      Chanleakna123
      Icon for Post Prodigy rankPost Prodigy

      hi Anonymous , hi how can i set up for users group ? 

      how to successfully do this ? right now i do it one by one email . i think this is not a solution. 

       

      thanks with Regards, 
      Leakna 

      • Anonymous's avatar
        Anonymous
        Not applicable

        within the same place you add individual email addresses you can also add group details