-
Notifications
You must be signed in to change notification settings - Fork 41
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
WebBackend API: List available settings #636
Comments
I don't see any benefit in providing such an API route and I would advise against it.
EDIT: There are use-cases that benefit from such an extension, e.g., a web version of the DEBUG GUI. It would still require whitelisting due to security concerns, but it might be helpful. My current impression was that no one wants that and all clients restrict the options that they show to their users. |
Just to clarify: By "existing and whitelisted" I mean the intersection; the API client should not be able to distinguish them (it should not be able to see non-whitelisted settings). |
@schuessf and I discussed a related option: To prevent out-of-sync settings, should we automatically generate the web interface's config.js from an .epf file (e.g. SV-COMP settings) as part of the website build process? |
Yes we should, and its rather easy. Its a combination of a template, various calls to UltimateCLI, and some jq magic. EDIT: Although, we should do that as part of the deploy process, not as part of the build process. |
In discussions with @Heizmann and @bahnwaerter, we noted it might be useful if there was a backend API to list available (i.e., existing and whitelisted) settings (see comment here).
Benefits
Details
The text was updated successfully, but these errors were encountered: