Reputation: 4600
I need to create a table which is public to all the user. So when I create a new user they already have access to read and write it but not delete it. Any idea appreciated.
Upvotes: 1
Views: 134
Reputation: 15090
What you're looking for is the PUBLIC
role. So:
GRANT SELECT, INSERT, UPDATE, DELETE ON mytable TO PUBLIC
will do what you want
http://docs.oracle.com/cd/B28359_01/server.111/b28337/tdpsg_privileges.htm#CIHHGIGB
Upvotes: 2