2020-06-04 20:24:05 +00:00
|
|
|
# Allow reading root collection for authenticated users
|
|
|
|
[root]
|
|
|
|
user: .+
|
|
|
|
collection:
|
|
|
|
permissions: R
|
2019-10-08 18:18:14 +00:00
|
|
|
|
2020-06-04 20:24:05 +00:00
|
|
|
# Allow reading and writing principal collection (same as user name)
|
|
|
|
[principal]
|
|
|
|
user: .+
|
|
|
|
collection: {user}
|
|
|
|
permissions: RW
|
2019-10-08 18:18:14 +00:00
|
|
|
|
2020-06-04 20:24:05 +00:00
|
|
|
# Allow reading and writing calendars and address books that are direct
|
|
|
|
# children of the principal collection
|
|
|
|
[calendars]
|
|
|
|
user: .+
|
|
|
|
collection: {user}/[^/]+
|
|
|
|
permissions: rw
|