mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-05 17:08:29 +00:00
parent
59721bae8b
commit
bccdd75827
1 changed files with 40 additions and 31 deletions
|
@ -1068,6 +1068,15 @@ Example:
|
|||
|
||||
.. code-block:: ini
|
||||
|
||||
# The default path for this kind of files is ~/.config/radicale/rights
|
||||
# This can be changed in the configuration file
|
||||
#
|
||||
# This file gives independant examples to help users write their own
|
||||
# configuration files. Using these examples together in the same configuration
|
||||
# file is meaningless.
|
||||
#
|
||||
# The first rule matching both user and collection patterns will be returned.
|
||||
|
||||
# This means all users starting with "admin" may read any collection
|
||||
[admin]
|
||||
user: ^admin.*$
|
||||
|
@ -1082,7 +1091,7 @@ Example:
|
|||
permission: rw
|
||||
|
||||
# A little more complex: give read access to users from a domain for all
|
||||
# collections of all the users (ie. user@domain.tld can read domain/\*).
|
||||
# collections of all the users (ie. user@domain.tld can read domain/*).
|
||||
[domain-wide-access]
|
||||
user: ^.+@(.+)\..+$
|
||||
collection: ^{0}/.+$
|
||||
|
@ -1097,7 +1106,7 @@ Example:
|
|||
# Give write access to owners
|
||||
[owner-write]
|
||||
user: .+
|
||||
collection: ^%(login)s/.+$
|
||||
collection: ^%(login)s/.*$
|
||||
permission: w
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue