Auth: Silence no permissions warning (#74477)

* silence no permissions warning

* change warning to debug
This commit is contained in:
Jo 2023-09-07 10:22:31 +02:00 committed by GitHub
parent 1ed6071f95
commit a6aa8f46d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ func (a *AccessControl) Evaluate(ctx context.Context, user identity.Requester, e
namespace, identifier := user.GetNamespacedID()
if len(user.GetPermissions()) == 0 {
a.log.Warn("No permissions set for entity", "namespace", namespace, "id", identifier, "orgID", user.GetOrgID(), "login", user.GetLogin())
a.log.Debug("No permissions set for entity", "namespace", namespace, "id", identifier, "orgID", user.GetOrgID(), "login", user.GetLogin())
return false, nil
}