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] Do not allow applying two (or more) templates of same VPN server on a device #832

Open
pandafy opened this issue Feb 9, 2024 · 0 comments

Comments

@pandafy
Copy link
Member

pandafy commented Feb 9, 2024

I found that it is possible to have two different VPN templates for the same VPN server object. But, it is not possible to apply both the templates on the same device, as the JSONSchema generates the following error

There is a conflict with the specified templates. Invalid configuration triggered by "#/files", validator says:

Screenshot from 2024-02-09 17-53-02

I think we should discourage using different templates for the same VPN server object on the same device using validation (we can create a separate issue for this).

Originally posted by @pandafy in #831 (comment)

@pandafy pandafy added this to To do (general) in OpenWISP Contributor's Board via automation Feb 9, 2024
OpenWISP Contributor's Board automation moved this from To do (general) to Done May 30, 2024
@nemesifier nemesifier reopened this May 30, 2024
OpenWISP Contributor's Board automation moved this from Done to In progress May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants