任何获得此角色的人都应该能够将权限分配给其他 ORACLE 命令行
Any one given this role should be able to assign privieleges to other ORACLE COMMAND LINE
过去考试中给出的问题是
you need to give academic role the ability to select from, insert
into and modify existing rows in Student table. Anyone given this
Academic role should be able to Pass those privileges to other. write
a query
Create ROLE academic; // I created the role
GRANT SELECT, INSERT, DELETE on student to academic; // Granted privileges
GRANT academic to username; // passed it to user
用户是否有权限将其传递给其他人?如果没有,怎么办?
在GRANT
语句的末尾使用WITH GRANT OPTION
子句(该语句在table上授予权限)。
https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9013.htm#i2062455 并稍微向下滚动到 WITH GRANT OPTION 文档标题。
过去考试中给出的问题是
you need to give academic role the ability to select from, insert into and modify existing rows in Student table. Anyone given this Academic role should be able to Pass those privileges to other. write a query
Create ROLE academic; // I created the role
GRANT SELECT, INSERT, DELETE on student to academic; // Granted privileges
GRANT academic to username; // passed it to user
用户是否有权限将其传递给其他人?如果没有,怎么办?
在GRANT
语句的末尾使用WITH GRANT OPTION
子句(该语句在table上授予权限)。
https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9013.htm#i2062455 并稍微向下滚动到 WITH GRANT OPTION 文档标题。