diff --git a/config b/config index ace677b..b9df376 100644 --- a/config +++ b/config @@ -104,7 +104,7 @@ committer = Radicale [rights] # Rights backend -# Value: None | owner_only | owner_write | from_file | custom +# Value: None | authenticated | owner_only | owner_write | from_file | custom type = None # Custom rights handler diff --git a/radicale/rights/regex.py b/radicale/rights/regex.py index 7a6208f..dfe9513 100644 --- a/radicale/rights/regex.py +++ b/radicale/rights/regex.py @@ -52,9 +52,11 @@ except ImportError: DEFINED_RIGHTS = { + "authenticated": "[rw]\nuser:.*\ncollection:.*\npermission:rw", "owner_write": "[r]\nuser:.*\ncollection:.*\npermission:r\n" "[w]\nuser:.*\ncollection:^%(login)s/.+$\npermission:w", - "owner_only": "[rw]\nuser:.*\ncollection:^%(login)s/.+$\npermission:rw"} + "owner_only": "[rw]\nuser:.*\ncollection:^%(login)s/.+$\npermission:rw", +} def _read_from_sections(user, collection_url, permission):