Allow requests on root folder for authenticated users

This commit is contained in:
Guillaume Ayoub 2014-08-07 15:06:48 +02:00
parent 77ad16f2a9
commit 2b4485f6ae

View File

@ -57,8 +57,8 @@ 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",
"[w]\nuser:.+\ncollection:^%(login)s(/.*)?$\npermission:w",
"owner_only": "[rw]\nuser:.+\ncollection:^%(login)s(/.*)?$\npermission:rw",
}