diff --git a/radicale/rights/regex.py b/radicale/rights/regex.py index 988da6f..a65381c 100644 --- a/radicale/rights/regex.py +++ b/radicale/rights/regex.py @@ -56,9 +56,9 @@ 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_write": "[r]\nuser:.+\ncollection:.*\npermission:r\n" + "[w]\nuser:.+\ncollection:^%(login)s/.+$\npermission:w", + "owner_only": "[rw]\nuser:.+\ncollection:^%(login)s/.+$\npermission:rw", }