Skip to content

WIP: Implement basic token scopes #5528

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

Closed
wants to merge 1 commit into from

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 23, 2022

This PR is work in progress!

It will add token scope columns to the database and check these columns in the route handlers that require authentication. It will not add support for creating such tokens to the API yet, or change the frontend in any way.

This will allow us to test these changes in production with a very limited number of tokens that already have these scopes set manually in the database.

Also, please consider the code in this PR prototype quality for now. The goal was to get to something that works, and now begins the part of cleaning it up, making it production quality and extracting dedicated commits/PRs from it.

see #5443

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Nov 23, 2022
@bors
Copy link
Contributor

bors commented Nov 23, 2022

☔ The latest upstream changes (presumably bf05e26) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Contributor

bors commented Dec 1, 2022

☔ The latest upstream changes (presumably 3acb400) made this pull request unmergeable. Please resolve the merge conflicts.

@Turbo87 Turbo87 force-pushed the basic-token-scopes branch from 1acd799 to 3ecd7c1 Compare December 1, 2022 14:21
@Turbo87 Turbo87 force-pushed the basic-token-scopes branch from 3ecd7c1 to 46f6a21 Compare December 1, 2022 15:34
@Turbo87
Copy link
Member Author

Turbo87 commented Dec 1, 2022

closing this as it has been replaced by a few other (merged) PRs 🎉

@Turbo87 Turbo87 closed this Dec 1, 2022
@Turbo87 Turbo87 deleted the basic-token-scopes branch December 2, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants