From 6364e323decfc302ede81080a838011f91eb5319 Mon Sep 17 00:00:00 2001 From: sthuang <167743503+shaoting-huang@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:20:46 +0800 Subject: [PATCH] fix: [2.4] privilege group privileges granted from ClusterAdmin permission denied (#38530) cherry-pick from master: https://github.com/milvus-io/milvus/pull/38514 related: https://github.com/milvus-io/milvus/issues/38460 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()),