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

adding authorizer for the api export virtual workspace #1177

Merged
merged 2 commits into from
Jun 3, 2022

Conversation

shawn-hurley
Copy link

Summary

Adding the authorizer for apiexport that will check that the requesting user has access to the apiexport context subresource for the specific API export. the verb being used will be forwarded along to be checked.

example: watch cowboys

request path: /services/apiexport/root:org:ws/cowboys-export/clusters/*/api/v1/cowboys

SAR check would ask if I can list on the specific cowboys-export /content subresource.

Related issue(s)

Follow on for: #1176
Fixes #1151

@shawn-hurley shawn-hurley force-pushed the add-authorizer-vw-apiexport branch from 336946a to 29481ac Compare June 1, 2022 13:11
@shawn-hurley shawn-hurley force-pushed the add-authorizer-vw-apiexport branch from 29481ac to a519e23 Compare June 2, 2022 21:27
@shawn-hurley shawn-hurley marked this pull request as ready for review June 2, 2022 21:38
@shawn-hurley shawn-hurley force-pushed the add-authorizer-vw-apiexport branch from a519e23 to 2907e32 Compare June 2, 2022 22:00
@shawn-hurley shawn-hurley requested review from ncdc and davidfestal June 2, 2022 22:00
@sttts
Copy link
Member

sttts commented Jun 3, 2022

Some small comments.

@shawn-hurley shawn-hurley force-pushed the add-authorizer-vw-apiexport branch from 2907e32 to caf8732 Compare June 3, 2022 13:57
@shawn-hurley shawn-hurley merged commit 001a059 into kcp-dev:main Jun 3, 2022
stevekuznetsov pushed a commit to stevekuznetsov/kcp that referenced this pull request Jun 8, 2022
…piexport

adding authorizer for the api export virtual workspace

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
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.

Add authorization checks (SAR) for APIExport virtual workspace
2 participants