角色'my_role_1'未授予ADMIN选项

问题描述 投票:0回答:1

我正试图授予用户一个角色。

grant my_role_1 to ktest1 with admin option;

但我得到以下错误信息

Error report - ORA-01932: ADMIN option not granted for role 'my_role_1'
01932. 00000 -  "ADMIN option not granted for role '%s'
*Cause:    The operation requires the admin option on the role.
*Action:   Obtain the grant option and re-try.
sql oracle database-administration user-roles grant
1个回答
1
投票

GRANT 文件 说。

要授予一个角色,你必须要么已经被授予该角色与 ADMIN OPTION 或已获准 GRANT ANY ROLE 系统权限,或者您必须创建角色。

© www.soinside.com 2019 - 2024. All rights reserved.