Skip to content

Commit

Permalink
RBAC built in privilege groups (#348)
Browse files Browse the repository at this point in the history
Signed-off-by: shaoting-huang <[email protected]>
  • Loading branch information
shaoting-huang authored Nov 14, 2024
1 parent 6de3d96 commit e6e41de
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,16 @@ enum ObjectPrivilege {
PrivilegeDropPrivilegeGroup = 57;
PrivilegeListPrivilegeGroups = 58;
PrivilegeOperatePrivilegeGroup = 59;

PrivilegeGroupClusterReadOnly = 60;
PrivilegeGroupClusterReadWrite = 61;
PrivilegeGroupClusterAdmin = 62;
PrivilegeGroupDatabaseReadOnly = 63;
PrivilegeGroupDatabaseReadWrite = 64;
PrivilegeGroupDatabaseAdmin = 65;
PrivilegeGroupCollectionReadOnly = 66;
PrivilegeGroupCollectionReadWrite = 67;
PrivilegeGroupCollectionAdmin = 68;
}

message PrivilegeExt {
Expand Down

0 comments on commit e6e41de

Please sign in to comment.