From 6c8fb8829ec130fccffc896377696dad2b8d8748 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 5 Dec 2024 12:02:37 +0100 Subject: [PATCH] ocm: don't append IDP to federated user id in ACEs This is no longer needed as the OpaqueID has the idp already included since 4a02c3e7a17. --- pkg/storage/utils/ace/ace.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/storage/utils/ace/ace.go b/pkg/storage/utils/ace/ace.go index e88a98f7f5..b8eb676649 100644 --- a/pkg/storage/utils/ace/ace.go +++ b/pkg/storage/utils/ace/ace.go @@ -215,10 +215,6 @@ func FromGrant(g *provider.Grant) *ACE { } func UserAce(id *userpb.UserId) string { - if id.GetType() == userpb.UserType_USER_TYPE_FEDERATED { - return "u:" + id.OpaqueId + "@" + id.Idp - } - return "u:" + id.OpaqueId }