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

denormalise PreAuthKey tags #2155

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

kradalby
Copy link
Collaborator

this commit denormalises the Tags related to a Pre auth key back onto the preauthkey table and struct as a string list.

There was not really any real normalisation here as we just added a bunch of duplicate tags with new IDs and preauthkeyIDs, lots of GORM cermony but no actual advantage.

This work is the start to fixup tags which currently are not working as they should.

Updates #1369

this commit denormalises the Tags related to a Pre auth key
back onto the preauthkey table and struct as a string list.

There was not really any real normalisation here as we just added
a bunch of duplicate tags with new IDs and preauthkeyIDs, lots of
GORM cermony but no actual advantage.

This work is the start to fixup tags which currently are not working
as they should.

Updates juanfont#1369

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
@kradalby kradalby force-pushed the kradalby/denorm-acl-tags branch from e49e9d3 to 27616b9 Compare September 27, 2024 21:46
@kradalby kradalby marked this pull request as ready for review September 27, 2024 21:46
@kradalby kradalby requested a review from juanfont as a code owner September 27, 2024 21:46
@kradalby kradalby merged commit 5eda9c8 into juanfont:main Sep 29, 2024
120 of 121 checks passed
@kradalby kradalby deleted the kradalby/denorm-acl-tags branch September 29, 2024 11:00
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