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

add scoped impersonation #8824

Merged
merged 1 commit into from
May 11, 2016
Merged

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented May 10, 2016

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

@smarterclayton
Copy link
Contributor

Please tell me I can impersonate myself.

@liggitt
Copy link
Contributor

liggitt commented May 11, 2016

Obviously that's too dangerous

@smarterclayton
Copy link
Contributor

Impersonate-User: INCEPTION

@deads2k
Copy link
Contributor Author

deads2k commented May 11, 2016

@soltysh mind taking a quick look? It's small and I know you've spent time in the handler

@soltysh
Copy link
Contributor

soltysh commented May 11, 2016

LGTM

@deads2k
Copy link
Contributor Author

deads2k commented May 11, 2016

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented May 11, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5885/) (Image: devenv-rhel7_4166)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 640c27e

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 640c27e

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3750/)

@openshift-bot openshift-bot merged commit e7e1fb7 into openshift:master May 11, 2016
@deads2k deads2k deleted the scoped-acting-as branch September 6, 2016 17:13
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.

6 participants