Skip to content

don't accept deleted tokens - #14978

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
deads2k:auth-19-deleted
Jul 1, 2017
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
deads2k:auth-19-deleted

Conversation

@deads2k

@deads2k deads2k commented Jun 30, 2017

Copy link
Copy Markdown
Contributor

In 3.6 we added GC, which allows users to specify finalizers when they delete their tokens. Doing this results in a zombie token that isn't deleted (separate problem), but was still valid against the API (this problem). This prevents us from accepting deleted tokens.

I'll update the SA one upstream too and pick it down.

@openshift/security @enj

@deads2k

deads2k commented Jun 30, 2017

Copy link
Copy Markdown
Contributor Author

[test]

@deads2k

deads2k commented Jun 30, 2017

Copy link
Copy Markdown
Contributor Author

@jwforres part 1 of issue 2 was easy

@enj

enj commented Jun 30, 2017

Copy link
Copy Markdown
Contributor

LGTM, I am really starting to hate GC...

@deads2k

deads2k commented Jun 30, 2017

Copy link
Copy Markdown
Contributor Author

LGTM, I am really starting to hate GC...

Added the upstream commit.

@enj you'll love this next bit. This was the really important one, but logically there are several bits that need to check if they've been deleted. An oauthclientauthorization ought not be respected if its awaiting deletion, right? You can spawn an issue to discuss if they are important enough special case like this or if you can simply wait.

@deads2k

deads2k commented Jun 30, 2017

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 31156c0

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Jun 30, 2017
@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 31156c0

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2873/) (Base Commit: 025772c) (PR Branch Commit: 31156c0)

@openshift-bot

openshift-bot commented Jul 1, 2017 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1196/) (Base Commit: caa3479) (PR Branch Commit: 31156c0) (Image: devenv-rhel7_6419)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants