sigoden / dufs

A file server that supports static serving, uploading, searching, accessing control, webdav...
Other
5.45k stars 259 forks source link

different operations for different users #371

Closed jiangjiangflies closed 3 months ago

jiangjiangflies commented 3 months ago

I can add multiple users dufs -A -a admin:123@/ -a user:user@/ But both admin and user have same all operations (delete, upload,etc). Is there a way that only admin have all the operations while other users can only browser files?

sigoden commented 3 months ago

image

-a admin:123@/ grants admin only read-only permissions -a admin:123@/:rw to grants admin all permissions.

jiangjiangflies commented 3 months ago

Sorry, the Advanced topics is folded in the README. I didn't notice that. Thank you!