From e6e41def99fee7ae9740ba9700b644085e1b6234 Mon Sep 17 00:00:00 2001 From: sthuang <167743503+shaoting-huang@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:30:22 +0800 Subject: [PATCH] RBAC built in privilege groups (#348) Signed-off-by: shaoting-huang --- proto/common.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/proto/common.proto b/proto/common.proto index 19aecc0..6a537db 100644 --- a/proto/common.proto +++ b/proto/common.proto @@ -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 {