Open Virkkunen opened 9 months ago
Can confirm this does not work in the docker environment - I've confirmed that it does work in the existing master branch, so maybe the docker image is out date?
Can confirm this does not work in the docker environment - I've confirmed that it does work in the existing master branch, so maybe the docker image is out date?
so it looks like in the current docker setup, the MICROBIN_UPLOADER_PASSWORD
isn't being read at all? If you run docker exec <container> env
it prints out all the env variables except MICROBIN_UPLOADER_PASSWORD
.
I fixed the issue and created a PR 🙂 it was actually a pretty simple fix
Describe the bug Read only and upload password settings have no effect. Users can still upload and delete pastas without a password (or with any password)
To Reproduce Steps to reproduce the behavior:
MICROBIN_READONLY=true
and aMICROBIN_UPLOADER_PASSWORD
docker compose down
anddocker compose --env-file .env up --detach
Expected behavior Pastas are not allowed to be uploaded without providing the uploader password