Skip to content
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

✨ authz: add scopes to default rule resolver #157

Open
wants to merge 2 commits into
base: kcp-1.31.0
Choose a base branch
from

Conversation

sttts
Copy link
Member

@sttts sttts commented Dec 21, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

This PR adds support for a user extra scope key authentication.kcp.io/scopes holding cluster:<name> values. The RBAC rule resolve is extended to handle a non-matching user as not anonymous, not applying to the rules.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Add user info extra scoping info of the shape `authentication.kcp.io/scopes: cluster:<name>` to constaint a user to a certain cluster.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant