Creating roles and granting rights to the role
-
03-03-2021 - |
Pregunta
I wanted to create a role called "user_updates" and this role should have the rights "table_note_updates". The rights called "table_note_updates" is already available in my database. How to grant the rights to role that i create.
Solución
A role can be granted to another role.
create role user_updates;
grant table_note_updates to user_updates;
Otros consejos
create role user_updates;
grant table_note_updates to user_updates;
Grant created role to user.
grant user_updates to myuser;
Licenciado bajo: CC-BY-SA con atribución
No afiliado a dba.stackexchange