I have some users when they login only data concerned with there depots should be displayed
I have some data in tables as below
username
password
Designation
A
A1
manager
B
B1
HR
C
C1
sales
| |
AND
username
zones
A
bangalore
A
hubli
B
chennai
C
delhi
| |
when user A logins. he should see all the depots which are in his zone.
and in case the user is replaced by some other user say ‘D’ then the rights for A should directly change to ‘D’ w.r.t with the designation
–Note: I have tried Row level security in supervisor… but that will not help me.
Firslty, why does row level security not work for you!!
Other things you could do it apply a join between table1 and table2 in a view. Then when you expose this view to Designer, create a self join of sorts!!
eg. view.column = @Variable(‘BOUSER’)
Thus depedning on the user that logs in, security is applied on your view.
Or you could have the security table in designer and force a join!!