Update README with share control / restriction (--shr-who)

added missing volflag argument in documentation, found via (https://github.com/9001/copyparty/issues/780#issuecomment-3269483109)[#780]

Signed-off-by: TWhiteShadow <123359049+TWhiteShadow@users.noreply.github.com>
This commit is contained in:
TWhiteShadow 2026-03-13 20:37:11 +01:00 committed by GitHub
parent 6eb4f0ad9c
commit 011da5bad7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1005,6 +1005,8 @@ specify `--shr /foobar` to enable this feature; a toplevel virtual folder named
users can delete their own shares in the controlpanel, and a list of privileged users (`--shr-adm`) are allowed to see and/or delet any share on the server
the volflag `--shr-who` lets you control who can create a share from that volume, either `no` (nobody), `a` (people with admin permission), or `auth` (people who are logged in)
after a share has expired, it remains visible in the controlpanel for `--shr-rt` minutes (default is 1 day), and the owner can revive it by extending the expiration time there
**security note:** using this feature does not mean that you can skip the [accounts and volumes](#accounts-and-volumes) section -- you still need to restrict access to volumes that you do not intend to share with unauthenticated users! it is not sufficient to use rules in the reverseproxy to restrict access to just the `/share` folder.