Chore: Fix log message in access control (#84101)

This commit is contained in:
Yuri Tseretyan 2024-03-07 16:34:22 -05:00 committed by GitHub
parent 7147af6b8e
commit 21719a6b5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,5 +72,5 @@ func (a *AccessControl) RegisterScopeAttributeResolver(prefix string, resolver a
func (a *AccessControl) debug(ctx context.Context, ident identity.Requester, msg string, eval accesscontrol.Evaluator) {
namespace, id := ident.GetNamespacedID()
a.log.FromContext(ctx).Debug(msg, "namespace", namespace, "id", id, "orgID", ident.GetOrgID(), eval.GoString())
a.log.FromContext(ctx).Debug(msg, "namespace", namespace, "id", id, "orgID", ident.GetOrgID(), "permissions", eval.GoString())
}