Restricting bunch of users to certain rows in 300 tables based on account=60
I am new to the row level security and Oracle Private Database.
We have a database which has 300+ tables and most of them have a column called 'account'. We want to restrict 60 users (out of 400) to be able to see only the rows when account=40. Rest of the users should be able to see all rows of the 300+ tables.
How can I accomplish this?
1. I am going to create a policy function
2. Create the Oracle Virtual Private Database Policy for each table?
3. How do I ensure that the policy is valid only for some users not all?
Thank you.
debasis
0