MSP-6964 Add applicationName log field to bypassing unauthorized log

This commit is contained in:
Синельник Тимур Романович committed 2026-01-23 12:57:12 +03:00
1 parent 9e6846ac03
commit 54a3ac5ed4
1 file changed
+1
+1
View File
@@ -31,6 +31,7 @@ func Authorize(authorizer Authorizer, logger log.Logger) Middleware {
ctx.Context(),
"bypassing unauthorized request because it has admin privilege",
log.Int("applicationId", authData.ApplicationId),
log.String("applicationName", authData.AppName),
log.Int("adminId", ctx.AdminId()),
)
return next.Handle(ctx)