-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Rename ClusterWorkspace #2569
Conversation
@@ -43,7 +43,7 @@ const ( | |||
// A shard admin being member of the privileged system group. | |||
// This will bypass most kcp authorization checks. | |||
shardAdminUserName = "shard-admin" | |||
// A kcp admin being member of system:kcp:clusterworkspace:admin and system:kcp:clusterworkspace:access. | |||
// A kcp admin being member of system:kcp:workspace:admin and system:kcp:workspace:access. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found system:kcp:workspace:access
but haven't found the admin one, is this comment up to date?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC those should be removed in favor of the new authorizers - let's open a follow-up issue and ask @s-urbaniak to clarify?
@sttts Should kcp/pkg/authorization/bootstrap/policy.go Lines 74 to 77 in 16e5542
|
@@ -43,7 +43,7 @@ const ( | |||
// A shard admin being member of the privileged system group. | |||
// This will bypass most kcp authorization checks. | |||
shardAdminUserName = "shard-admin" | |||
// A kcp admin being member of system:kcp:clusterworkspace:admin and system:kcp:clusterworkspace:access. | |||
// A kcp admin being member of system:kcp:workspace:admin and system:kcp:workspace:access. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC those should be removed in favor of the new authorizers - let's open a follow-up issue and ask @s-urbaniak to clarify?
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stevekuznetsov, sttts The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Signed-off-by: Vince Prignano <vince@prigna.com>
/lgtm |
Signed-off-by: Vince Prignano vince@prigna.com
Summary
Starts renaming instances of
ClusterWorkspace
toWorkspace
in most casesRelated issue(s)
Related to #2510