Skip to content
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

apikey: only enforce unique name on non-deleted keys #3369

Merged
merged 5 commits into from
Oct 18, 2023

Conversation

mastercactapus
Copy link
Member

Description:
Fixes an issue where once a key was deleted, its name could still not be used.

Which issue(s) this PR fixes:
Part of #3007

Additional Info:
This was due to a unique constraint not accounting for the soft-delete functionality.

@mastercactapus mastercactapus changed the title only enforce unique name on non-deleted keys apikey: only enforce unique name on non-deleted keys Oct 17, 2023
KatieMSB
KatieMSB previously approved these changes Oct 17, 2023
Forfold
Forfold previously approved these changes Oct 17, 2023
@mastercactapus mastercactapus dismissed stale reviews from Forfold and KatieMSB via 7c2467a October 17, 2023 19:21
Forfold
Forfold previously approved these changes Oct 17, 2023
@Forfold Forfold merged commit e50793e into master Oct 18, 2023
@Forfold Forfold deleted the api-key-soft-delete-name branch October 18, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants