mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
Quote groups in deny log message
This commit is contained in:
@@ -111,7 +111,7 @@ func (r *RBACAuthorizer) Authorize(requestAttributes authorizer.Attributes) (boo
|
|||||||
scope = "cluster-wide"
|
scope = "cluster-wide"
|
||||||
}
|
}
|
||||||
|
|
||||||
glog.Infof("RBAC DENY: user %q groups %v cannot %s %s", requestAttributes.GetUser().GetName(), requestAttributes.GetUser().GetGroups(), operation, scope)
|
glog.Infof("RBAC DENY: user %q groups %q cannot %s %s", requestAttributes.GetUser().GetName(), requestAttributes.GetUser().GetGroups(), operation, scope)
|
||||||
}
|
}
|
||||||
|
|
||||||
reason := ""
|
reason := ""
|
||||||
|
Reference in New Issue
Block a user