Fix owner_* methods (fix #151)
This commit is contained in:
parent
1ab07d84e6
commit
6021f16866
@ -56,9 +56,9 @@ except ImportError:
|
|||||||
|
|
||||||
DEFINED_RIGHTS = {
|
DEFINED_RIGHTS = {
|
||||||
"authenticated": "[rw]\nuser:.+\ncollection:.*\npermission:rw",
|
"authenticated": "[rw]\nuser:.+\ncollection:.*\npermission:rw",
|
||||||
"owner_write": "[r]\nuser:.*\ncollection:.*\npermission:r\n"
|
"owner_write": "[r]\nuser:.+\ncollection:.*\npermission:r\n"
|
||||||
"[w]\nuser:.*\ncollection:^%(login)s/.+$\npermission:w",
|
"[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",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user