-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: The role could be dropped in the database if the role is granted with no privilege in this database but with privilege in another database #38325
Comments
/assign @shaoting-huang |
@yanliang567: GitHub didn't allow me to assign the following users: shaoting-huang. Note that only milvus-io members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @weiliu1031 |
issue: #38325 the old impl only to check grant in default db before drop role, which may cause role be dropped when grant still exist. Signed-off-by: Wei Liu <[email protected]>
issue: milvus-io#38325 the old impl only to check grant in default db before drop role, which may cause role be dropped when grant still exist. Signed-off-by: Wei Liu <[email protected]>
issue: #38325 pr: #38342 the old impl only to check grant in default db before drop role, which may cause role be dropped when grant still exist. Signed-off-by: Wei Liu <[email protected]>
working on verification. |
verified and fixed. milvus:master-20241211-a118ca14-amd64 results:
|
Is there an existing issue for this?
Environment
Current Behavior
The role could be dropped in the database if the role is granted no privilege in this database but with privilege in another database
Expected Behavior
The role could not be dropped in the database if the role is granted with privilege in any databases
Steps To Reproduce
Milvus Log
https://grafana-4am.zilliz.cc/explore?orgId=1&panes=%7B%22Vco%22:%7B%22datasource%22:%22vhI6Vw67k%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bcluster%3D%5C%22devops%5C%22,namespace%3D%5C%22chaos-testing%5C%22,pod%3D~%5C%22rbac-master-latest-bogwk.%2A%5C%22%7D%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22vhI6Vw67k%22%7D%7D%5D,%22range%22:%7B%22from%22:%22now-1h%22,%22to%22:%22now%22%7D%7D%7D&schemaVersion=1
Anything else?
No response
The text was updated successfully, but these errors were encountered: