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

Remove Account.Rules from Store engines #1528

Merged
merged 3 commits into from
Feb 19, 2024
Merged

Remove Account.Rules from Store engines #1528

merged 3 commits into from
Feb 19, 2024

Conversation

surik
Copy link
Contributor

@surik surik commented Feb 5, 2024

Describe your changes

This PR removes all usage of Account.Rules in the management. We still keep the endpoint that translates rules to policies and the other way around.

Release note:

The users with management on version < v0.15.3 should first upgrade their systems to v0.25.8, run management to properly migrate rules to policies, and then upgrade to 0.26.0+.

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

surik added 3 commits February 5, 2024 14:08
We still keep them as part of Account as there is logic in tests that
relies on it.
@surik surik merged commit db3cba5 into main Feb 19, 2024
16 checks passed
@surik surik deleted the yury/remove-rules-store branch February 19, 2024 16:17
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
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