Skip to content
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

[Feature]: RBAC customized and built-in privilege groups, and cleaner grant/revoke API #37031

Open
19 tasks done
shaoting-huang opened this issue Oct 21, 2024 · 2 comments
Open
19 tasks done
Assignees
Labels
kind/enhancement Issues or changes related to enhancement

Comments

@shaoting-huang
Copy link
Contributor

shaoting-huang commented Oct 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to be added?

  1. Support customized privilege groups so users can create, drop, list, add, or remove privileges on them.
  2. Support 9 built-in privilege groups: ClusterReadOnly/ClusterReadWrite/ClusterAdmin、DatabaseReadOnly/DatabaseReadWrite/DatabaseAdmin、CollectionReadOnly/CollectionReadWrite/CollectionAdmin
  3. Support Grant/Revoke V2 for cleaner API. Users do not need to pass ObjectType anymore.
Screenshot 2024-12-10 at 11 40 40

Why is this needed?

  • Support RBAC custom privilege groups and built-in privilege groups to do batch grant/revoke.
  • Support Grant/Revoke V2 for cleaner API. Users do not need to pass ObjectType anymore.

Anything else?

No response

@shaoting-huang shaoting-huang added the kind/enhancement Issues or changes related to enhancement label Oct 21, 2024
@shaoting-huang
Copy link
Contributor Author

/assign

sre-ci-robot pushed a commit that referenced this issue Nov 9, 2024
sre-ci-robot pushed a commit that referenced this issue Nov 9, 2024
shaoting-huang added a commit to shaoting-huang/milvus that referenced this issue Nov 9, 2024
sre-ci-robot pushed a commit that referenced this issue Nov 11, 2024
Cherry-pick from master
pr: #37087,
#37558
issue: #37031

---------

Signed-off-by: shaoting-huang <[email protected]>
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Nov 13, 2024
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Nov 13, 2024
sre-ci-robot pushed a commit to milvus-io/milvus-sdk-go that referenced this issue Nov 14, 2024
shaoting-huang added a commit to shaoting-huang/milvus-sdk-go that referenced this issue Nov 14, 2024
shaoting-huang added a commit to shaoting-huang/milvus-sdk-go that referenced this issue Nov 14, 2024
shaoting-huang added a commit to shaoting-huang/milvus-sdk-go that referenced this issue Nov 14, 2024
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Nov 18, 2024
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Nov 18, 2024
issue: milvus-io/milvus#37031
issue: #2353

---------

Signed-off-by: shaoting-huang <[email protected]>
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Dec 11, 2024
shaoting-huang added a commit to shaoting-huang/pymilvus that referenced this issue Dec 11, 2024
shaoting-huang added a commit to shaoting-huang/pymilvus that referenced this issue Dec 11, 2024
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Dec 12, 2024
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Dec 12, 2024
sre-ci-robot pushed a commit that referenced this issue Dec 12, 2024
shaoting-huang added a commit to shaoting-huang/milvus that referenced this issue Dec 12, 2024
sre-ci-robot pushed a commit that referenced this issue Dec 12, 2024
…group (#38408)

cherry-pick from master: #38393
related issue: #37031

Signed-off-by: shaoting-huang <[email protected]>
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Dec 24, 2024
shaoting-huang added a commit to shaoting-huang/pymilvus that referenced this issue Dec 24, 2024
shaoting-huang added a commit to shaoting-huang/pymilvus that referenced this issue Dec 24, 2024
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Dec 24, 2024
cherry-pick from master: #2510
related: milvus-io/milvus#37031

Signed-off-by: shaoting-huang <[email protected]>
sre-ci-robot pushed a commit to milvus-io/pymilvus that referenced this issue Dec 24, 2024
cherry-pick from master: #2510
related: milvus-io/milvus#37031

Signed-off-by: shaoting-huang <[email protected]>
sre-ci-robot pushed a commit that referenced this issue Dec 25, 2024
sre-ci-robot pushed a commit that referenced this issue Dec 25, 2024
related: #37031
* built-in privilege group privileges in listPrivilegeGroups() should be
the same as in milvus.yaml
* collections granted by collection level built-in privilege group
should be list in showCollections()

Signed-off-by: shaoting-huang <[email protected]>
sre-ci-robot pushed a commit that referenced this issue Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement
Projects
None yet
Development

No branches or pull requests

1 participant