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

Auth check needs to support sub-resources #231

Open
jinnovation opened this issue Jun 17, 2024 · 0 comments
Open

Auth check needs to support sub-resources #231

jinnovation opened this issue Jun 17, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@jinnovation
Copy link
Owner

To check if, say, user has permission to get logs (#155), one would do the following w/ kubectl:

kubectl auth can-i get pods --subresource=log

There is, of course, an analogous field in SelfSubjectAccessReview, which we can use.

kele--can-i does not support this currently, though it should be perfectly easy to set this up.

Definition of Done

  • Kele is able to check can-i permissions for subresources as well as resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant