Examples of Role Assignment
-
Assigning the
DIRECTOR
andMANAGER
roles to the userIVAN
:GRANT DIRECTOR, MANAGER TO USER IVAN;
-
Assigning the
MANAGER
role to the userALEX
with the authority to assign this role to other users:GRANT MANAGER TO USER ALEX WITH ADMIN OPTION;
-
Assigning the
DIRECTOR
role to userALEX
as a default role:GRANT DEFAULT DIRECTOR TO USER ALEX;
-
Assigning the
MANAGER
role to roleDIRECTOR
:GRANT MANAGER TO ROLE DIRECTOR;