Skip to content

Mark API tokens as revoked #1567

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

Merged
merged 1 commit into from
Dec 3, 2018
Merged

Mark API tokens as revoked #1567

merged 1 commit into from
Dec 3, 2018

Conversation

joshleeb
Copy link

With this PR, when a user deletes an API token, rather than deleting it from the database, it will instead be marked as revoked.

That means that this PR also adds a migration to add the column revoked to the api_tokens table.

Ref. #1548 (Task 1)

With this PR, when a user deletes an API token, rather than deleting it
from the database, it will instead be marked as `revoked`.

That means that this PR also adds a migration to add the column
`revoked` to the `api_tokens` table.
@carols10cents
Copy link
Member

Thanks! Looks great!!!

bors: r+

bors-voyager bot added a commit that referenced this pull request Dec 3, 2018
1567: Mark API tokens as revoked r=carols10cents a=joshleeb

With this PR, when a user deletes an API token, rather than deleting it from the database, it will instead be marked as `revoked`.

That means that this PR also adds a migration to add the column `revoked` to the `api_tokens` table.

Ref. #1548 (Task 1)

Co-authored-by: Josh Leeb-du Toit <[email protected]>
@bors-voyager
Copy link
Contributor

bors-voyager bot commented Dec 3, 2018

Build succeeded

@bors-voyager bors-voyager bot merged commit 359ec94 into rust-lang:master Dec 3, 2018
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.

2 participants