您的位置:首页 > 运维架构

with admin option & with grant option

2013-07-05 11:12 381 查看
with admin option

授权者授予某个用户“系统权限”,同时也允许被授权者将这个权限授予其他用户

可以为角色赋予“系统权限”

with grant option

授权者授予某个用户“对象权限”,同时也允许被授权者将这个权限授予其他用户

不可以为角色赋予“对象权限”

eg:

SQL> grant select on test to kuja with grant option;

grant select on test to kuja with grant option

*

ERROR at line 1:

ORA-01926: cannot GRANT to a role WITH GRANT OPTION
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: