sharing: cosmetics, check existence of collection before create

This commit is contained in:
Peter Bieringer
2026-03-05 21:31:32 +01:00
parent bef0727b94
commit 6070fe67da
3 changed files with 37 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
Static collection sharing without permissions filter using soft-links (Unix-only) is supported since storage type `multifilesystem` was implemented, see (Wiki: Sharing Collections)[https://github.com/Kozea/Radicale/wiki/Sharing-Collections]
With 3.7.0 a major extension was implemented using internal mapping configuration stored in a database and a management API.
With 3.7.0 major extension was implemented using internal mapping configuration stored in a database and a management API.
## Sharing Implementation
@@ -93,7 +93,6 @@ Permissions are filtered by provided `Permissions`.
#### CxDav request "(MOVE)"
* Action
* map source
* map destination
@@ -111,7 +110,6 @@ Permissions are filtered by provided `Permissions`.
* `permissions_filter` by `Permissions` (of `to_path`)
* `to_permissions_filter` by `Permissions` (of `to_path`)
## Sharing Configuration Store
Types of supported sharing configuration:
@@ -181,7 +179,6 @@ In case share should be visible using PROPFIND
* unhide map as owner (can be combined with "create")
* unhide map as user (explicit required to avoid sudden visible share)
### Sharing Access via Tokens
(_>= 3.7.0_)
@@ -190,6 +187,8 @@ Token-based sharing can be accessed after retrieving the token via
Token-URI: `/.token/<Token>`
Note: requests to not enabled or not even defined tokens will resul tin _401 Not Authorized_
#### Permission Control
* `permit_create_token`