[
https://issues.apache.org/jira/browse/KYLIN-4714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197463#comment-17197463
]
ASF GitHub Bot commented on KYLIN-4714:
---------------------------------------
zhangayqian commented on pull request #1370:
URL: https://github.com/apache/kylin/pull/1370#issuecomment-694035692
I have verify this PR. It does fixed KYLIN-4712.
- Fistly, I grant two user `test` and `test_user` the project query
permission.
<img width="1362" alt="grant_two_user"
src="https://user-images.githubusercontent.com/31064237/93434051-37ce4980-f8fa-11ea-844a-4f17319bcaf1.png">
- Then I revoke the permission of the two user successfully.
<img width="648" alt="revoke_user_b"
src="https://user-images.githubusercontent.com/31064237/93434191-65b38e00-f8fa-11ea-9cee-fe7c36c2a1f9.png">
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Failed to revoke role access of the project
> -------------------------------------------
>
> Key: KYLIN-4714
> URL: https://issues.apache.org/jira/browse/KYLIN-4714
> Project: Kylin
> Issue Type: Improvement
> Components: Security
> Affects Versions: v3.1.0
> Reporter: Guangxu Cheng
> Assignee: Guangxu Cheng
> Priority: Major
> Attachments: image-2020-08-24-17-42-21-218.png
>
>
> When I continuously grant and revoke permissions for multiple users, I often
> can't get the desired results.
> For examples, there is a Project A,
> 1. grant user 'A'
> 2. grant user 'B'
> 3. revoke user 'A'
> 4. revoke user 'B'
> Now, when I revoke user 'B', there will throw an exception.
> !image-2020-08-24-17-42-21-218.png|width=309,height=200!
> The reason for this problem is that after revoke or grant, the sequence
> number of the returned result is incorrect.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)