-
Notifications
You must be signed in to change notification settings - Fork 27
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
[GT-95] Prepare for API credential management based on renewal time #447
Conversation
I've tweaked this slightly to reflect that I want unrenewed API credentials to be deleted at a quicker cadence than inactive users. This is to prevent inactive users having API credentials. |
I was slightly surprised the tests passed - as I naively assumed "Well, the deletion of unrenewed credentials hasn't been implemented yet, so the test should fail". But the logic is almost the same (and hence the logic is reused) as deleting unused credentials, so it makes sense that the tests pass 😄 |
rebasing on latest dev |
Why is the PR picking up the commits from #209 following a rebase? |
So Git (not GitHub) thinks the merge-base (best common ancestor) is fab7bd0, which is not the latest pull request merged into dev - hence picking up the commits from #209.
|
Basic renaming to make way for managing renewal cycle tests
Addressing review comment and correct some code comments and function phpdoc
Co-authored-by: Rowan <rowanmoss04@gmail.com>
- this is to reflect that we want unrenewed API credentials to be deleted at a quicker cadence than users. - this is to prevent inactive users having API credentials.
Following this StackOverflow answer to try and resolve this: https://stackoverflow.com/a/70994400
2790f30 is the latest PR merged into A subsequent force push seems to have resolved the weirdness. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm :)
Co-authored-by: Rowan <rowanmoss04@gmail.com>
Refactor existing last-use-time code and add prototype test as for #438