-
Notifications
You must be signed in to change notification settings - Fork 100
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
feat(api key management) Extract api key model #2734
Conversation
6701cca
to
d16271d
Compare
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.
Good stuff, I have left you a few comments.
Let me know if you would like to have a chat about my comments.
d16271d
to
c57ccf2
Compare
@ancorcruz @vincent-pochet Thanks for your reviews! |
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.
Looks great! 🚀
Just one comment around the fallback for the lookup of the API key at organization level in the base controller
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. thanks!
c57ccf2
to
926f8cb
Compare
Context
One tiny step towards advanced API key management.
Description
Introduces new model
ApiKey
that will replaceapi_key
column on theOrganization
model during next steps.Migrate existing values for
api_key
to the dedicated model.Adjust REST API authorization to use lookup for ApiKey model and temporary keep previous lookup for Organization model.