We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0013aad commit e14b5d3Copy full SHA for e14b5d3
pkg/authentication/authenticators.go
@@ -47,9 +47,7 @@ func withClusterScope(delegate authenticator.Request) authenticator.Request {
47
if extra == nil {
48
extra = map[string][]string{}
49
}
50
- if true {
51
- extra["authentication.kcp.io/scopes"] = append(extra["authentication.kcp.io/scopes"], fmt.Sprintf("cluster:%s", cluster))
52
- }
+ extra["authentication.kcp.io/scopes"] = append(extra["authentication.kcp.io/scopes"], fmt.Sprintf("cluster:%s", cluster))
53
54
response.User = &user.DefaultInfo{
55
Name: response.User.GetName(),
0 commit comments