fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
921 stars 29 forks source link

[Feature request] Disable/hide the “Delete” option in the frontend #385

Open okunze opened 2 months ago

okunze commented 2 months ago

Describe the solution you'd like I would like to see an option to disable/hide the “Delete” option in the frontend.

Currently I put the frontend behind authenticatio so that nobody can make deletions.

If the “Delete” option could be hidden/disabled, I could make the WebUI freely visible.

Maybe something like this:

### WebUI

| Env var                    | Required | Description                                     | Supported values | Default value when missing |
| -------------------------- | -------- | ----------------------------------------------- | ---------------- | -------------------------- | 
| `WUD_WEBUI_DISABLE_DELETE` | No       | Disable "Delete" button for containers in WebUI | true / false     | false                      |