Repository navigation
don't accept deleted tokens - #14978
Conversation
|
[test] |
|
@jwforres part 1 of issue 2 was easy |
|
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. |
|
[merge] |
|
Evaluated for origin merge up to 31156c0 |
|
Evaluated for origin test up to 31156c0 |
|
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) |
|
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) |
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