From 6021f16866d1d0c138f969a3e0074d7c3baee6a7 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Tue, 6 May 2014 15:15:58 +0200 Subject: [PATCH] Fix owner_* methods (fix #151) --- radicale/rights/regex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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", }