[Bug]: Way to break RBAC v. 2 #39365
Labels
kind/bug
Issues or changes related a bug
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Is there an existing issue for this?
Environment
Current Behavior
It is possible to call a
grant_privilege_v2
incorrect parameters. This call breaks RBAC.Instead of correct
it can be misspelled like:
And the bad thing is, there will be no exceptions in this case. And what's worse, it affects the whole RBAC v. 2, correct setting privileges stop working.
Expected Behavior
A call with invalid parameters should raise an exception.:
Steps To Reproduce
Milvus Log
Anything else?
No response
The text was updated successfully, but these errors were encountered: