From ead37326f0fef2899977d7878696f186fa974c68 Mon Sep 17 00:00:00 2001 From: wei liu Date: Fri, 16 Aug 2024 18:42:54 +0800 Subject: [PATCH] enhance: Add backup/restore privilege to admin group (#35515) issue: #35443 Signed-off-by: Wei Liu --- pkg/util/constant.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/util/constant.go b/pkg/util/constant.go index a85d8c8c77..3aec9b9287 100644 --- a/pkg/util/constant.go +++ b/pkg/util/constant.go @@ -255,6 +255,8 @@ var ( commonpb.ObjectPrivilege_PrivilegeManageOwnership.String(), commonpb.ObjectPrivilege_PrivilegeSelectUser.String(), commonpb.ObjectPrivilege_PrivilegeUpdateUser.String(), + commonpb.ObjectPrivilege_PrivilegeBackupRBAC.String(), + commonpb.ObjectPrivilege_PrivilegeRestoreRBAC.String(), commonpb.ObjectPrivilege_PrivilegeCreateResourceGroup.String(), commonpb.ObjectPrivilege_PrivilegeUpdateResourceGroups.String(), commonpb.ObjectPrivilege_PrivilegeDropResourceGroup.String(),