New rights management method: regex

user and collection are matched against regular expression to determine read/write access
This commit is contained in:
mail@sweil.de
2013-07-19 15:16:36 +02:00
parent b8848de15e
commit eed0f74fad
3 changed files with 170 additions and 2 deletions

8
config
View File

@ -96,13 +96,19 @@ http_password_parameter =
[rights]
# Rights management method
# Value: None | owner_only | owner_write | from_file
# Value: None | owner_only | owner_write | from_file | regex
type = None
# File for rights management from_file
file = ~/.config/radicale/rights
# File for rights management regex
regex_file =~/.config/radicale/regex
# use this as alternative method
regex_secondary = owner_only
[storage]
# Storage backend
# Value: filesystem | database