-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
add scoped impersonation #8824
add scoped impersonation #8824
Conversation
Please tell me I can impersonate myself. |
Obviously that's too dangerous |
|
@soltysh mind taking a quick look? It's small and I know you've spent time in the handler |
LGTM |
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5885/) (Image: devenv-rhel7_4166) |
Evaluated for origin merge up to 640c27e |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to 640c27e |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3750/) |
For https://trello.com/c/CqdFNLkd/697-3-auth-scopes-scoped-acting-as
This allows someone to act as a user and limit themselves to the scopes provided on the token. This is useful for cases where our API talks back to itself and wants to switch to an impersonation model. Doing this would prevent a token from accidentally being escalated.
@sgallagher ptal