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

[change] Disallow changing configuration backend from UI #789

Open
nemesifier opened this issue Jul 7, 2023 · 0 comments
Open

[change] Disallow changing configuration backend from UI #789

nemesifier opened this issue Jul 7, 2023 · 0 comments

Comments

@nemesifier
Copy link
Member

I think we should disallow changing the configuration backend from the UI in:

  • device
  • template
  • VPN server

The work required to make this work flawlessly is too much and the gains are negligible. Users should simply delete the object and create a new one if they need to use a different configuration backend.
In exceptional cases users could use the django shell or scripts to migrate from a backend to a different one (this could happen if they create a custom backend and then they want to switch to it), therefore we should only prevent this from the UI but not add logic to prevent changing the backend directly using the django model API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant