[ 
https://issues.apache.org/jira/browse/IOTDB-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471143#comment-17471143
 ] 

Yukun Zhou commented on IOTDB-2260:
-----------------------------------

If you want to execute "REVOKE admin FROM xzh_02", you need to "grant user dddd 
privileges REVOKE_USER_ROLE on root". This is not a bug. It's just a confusing 
feature.

> When the authorized user cancels the permission of a user, which still 
> reports has no permission
> ------------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-2260
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2260
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>    Affects Versions: 0.13.0-SNAPSHOT
>            Reporter: xiaozhihong
>            Assignee: Yukun Zhou
>            Priority: Major
>
> Grant the permission to cancel a user role to a specified user. When the 
> specified user cancels the permission of a user, the user still reports that 
> the user has no permission.
> ROOT:
> IoTDB> GRANT USER dddd PRIVILEGES REVOKE_ROLE_PRIVILEGE on root
> Msg: The statement is executed successfully.
> dddd:
> IoTDB> REVOKE admin FROM xzh_02
> Msg: 602: No permissions for this operation REVOKE_USER_ROLE



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to