From fc62761cbc56edfcc750f587c39fce7031d1f374 Mon Sep 17 00:00:00 2001 From: shaoting-huang Date: Tue, 17 Dec 2024 12:13:33 +0800 Subject: [PATCH] fix cluster admin privilege group privileges Signed-off-by: shaoting-huang --- pkg/util/constant.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/util/constant.go b/pkg/util/constant.go index 51d12c673d8fc..bef093cf3fef1 100644 --- a/pkg/util/constant.go +++ b/pkg/util/constant.go @@ -117,10 +117,6 @@ var ( MetaStore2API(commonpb.ObjectPrivilege_PrivilegeGetFlushState.String()), MetaStore2API(commonpb.ObjectPrivilege_PrivilegeGroupReadOnly.String()), MetaStore2API(commonpb.ObjectPrivilege_PrivilegeGroupReadWrite.String()), - MetaStore2API(commonpb.ObjectPrivilege_PrivilegeCreatePrivilegeGroup.String()), - MetaStore2API(commonpb.ObjectPrivilege_PrivilegeDropPrivilegeGroup.String()), - MetaStore2API(commonpb.ObjectPrivilege_PrivilegeListPrivilegeGroups.String()), - MetaStore2API(commonpb.ObjectPrivilege_PrivilegeOperatePrivilegeGroup.String()), }, commonpb.ObjectType_Global.String(): { MetaStore2API(commonpb.ObjectPrivilege_PrivilegeAll.String()),