dave
dave copied to clipboard
read only access
trafficstars
Is it possible to configure read only access?
Hej hej, not yet, no. But I think it's a good idea. Do you want to implement it?
Work packages should be:
- Extension of the configuration by (users.username.permissions).
- Adding a check in app/fs.go
- Writing a test
Best, Christian
Sorry, I'll pass. Played with other webdav server implementations and came to conclusion that webdav doesn't fit my needs.
Workaround: run it using Docker and mount data dir read-only. Kind of hack-ish and perhaps will spit out errors when writing, but might be good enough for some.
Workaround 2: put it behind a reverse proxy which denies all non-read verbs (PUT, PATCH, etc.)