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

Missing delete feature for the configruation and the peers/clients. #350

Open
mzs114 opened this issue Aug 28, 2024 · 5 comments
Open

Missing delete feature for the configruation and the peers/clients. #350

mzs114 opened this issue Aug 28, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@mzs114
Copy link

mzs114 commented Aug 28, 2024

Is your feature request related to a problem? Please describe.
Delete options missing from multiple objects created by the Web UI.

Describe the solution you'd like
Two places where the delete option be given:
A user can create new wireguard configuration from the web UI, however delete option is missing, one can disable it however.

A user can bulk add new peers/clients, but currently cannot safely bulk remove the peers/client, a option to select multiple and delete in one go is desirable for such use cases, see whether this can support Regular Expressions to bulk select peers based on a pattern.

For the time being a manual approach from the backend can be used as a workaround.
A SQL command can help till the web UI supports this feature.

@mzs114 mzs114 added the enhancement New feature or request label Aug 28, 2024
@donaldzou
Copy link
Owner

Hi! I'm wondering what do you mean by this?

Delete options missing from multiple objects created by the Web UI.

Regarding this:

A user can create new wireguard configuration from the web UI, however delete option is missing, one can disable it however.

all peers should be able to delete, do you mind posting a screenshot?

@mzs114
Copy link
Author

mzs114 commented Aug 28, 2024

Assume you create a new Wireguard configuration, now you can only disable it from the web UI, as there is no delete option, let me know if I missed this.

So peers can be created in bulk?
Now if the operator wants to delete and clean up in bulk there is no such option, he/she has to delete one at a time.
A idea is to allow selecting multiple peers or using a regular expression criteria to filter and select multiple peers for deletion.

@donaldzou
Copy link
Owner

Ahh gotcha.. you mean by deleting a configuration

@donaldzou donaldzou mentioned this issue Aug 29, 2024
14 tasks
@mzs114
Copy link
Author

mzs114 commented Aug 29, 2024

Yeah, and also the peers, a way to delete them in bulk. Maybe by grouping with a reg ex.

@schmid-mn
Copy link
Sponsor

I agree. Deleting a misconfigured config from the dashboard by clicking "delete configuration" would be great. Else you and up in numerous config files on the cmd line and f-up the config. Then you need to start from scratch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@mzs114 @donaldzou @schmid-mn and others