Fix owner_* methods (fix #151)

This commit is contained in:
Guillaume Ayoub 2014-05-06 15:15:58 +02:00
parent 1ab07d84e6
commit 6021f16866

View File

@ -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",
}