one is to apply row level security using the supervisor
the other is to create a security table and add it to the universe. Then join the security with each table in the following manner
securitytable.col = table.column
and securitytable.user_id = @Variable(‘BOUSER’)
Then you could force this join on every object and thus apply security…
Just do a search on BOB as recently there have been many posts regarding this type of problem.
Thanks for ur instant reply!!
I had gone through few forum topics and understood the idea of creating a security table and joining to all tables in the universe but my problem is that i have about 100 base tables and many aliases.i was wondering how i can implement for so many tables.
One more issue is that how should i join the security table with base
table? Since there will be no common column.
For Example:
Security table: groupid/userid Labcode
youve got a problem then!! I guess, you will need to denormalize your tables in such a way that will enable you to join your security table to these table. Or build your security table in a way which enables you to join it to other tables…
One other option is to identify a table which would always be used and denormalize only that and then join the security table to that table. Then you would have to force two joins, one is from the table to this identified table and then to the security table.
This may not be feasible, and it all depends on your DB model.
I am trying to identify all the row level security we have set up on our universes. Instead of going to Supervisor and check on each universe, I wonder if I can run a sql query against the repository tables that lists all the universe with the its row level security. Could you please let me know if this can be done?