mirror of
https://github.com/Kozea/Radicale.git
synced 2025-03-31 11:47:38 +03:00
Adapt based on additional comments.
This commit is contained in:
parent
8b8d7729a2
commit
13d56f0918
2 changed files with 15 additions and 20 deletions
2
config
2
config
|
@ -54,7 +54,7 @@
|
|||
|
||||
# Authentication method
|
||||
# Value: none | htpasswd | remote_user | http_x_remote_user | ldap
|
||||
#type = ldap
|
||||
#type = none
|
||||
|
||||
# URI to the LDAP server
|
||||
#ldap_uri = ldap://localhost
|
||||
|
|
33
rights
33
rights
|
@ -1,27 +1,22 @@
|
|||
# -*- mode: conf -*-
|
||||
# vim:ft=cfg
|
||||
# Allow all rights for the Administrator
|
||||
[root]
|
||||
user: Administrator
|
||||
collection: .*
|
||||
permissions: RW
|
||||
#[root]
|
||||
#user: Administrator
|
||||
#collection: .*
|
||||
#permissions: RW
|
||||
|
||||
# Allow reading principal collection (same as username)
|
||||
[principal]
|
||||
user: .+
|
||||
collection: {user}
|
||||
permissions: R
|
||||
#[principal]
|
||||
#user: .+
|
||||
#collection: {user}
|
||||
#permissions: R
|
||||
|
||||
# Allow reading and writing private collection (same as username)
|
||||
[private]
|
||||
user: .+
|
||||
collection: {user}/private/
|
||||
permissions: RW
|
||||
|
||||
# Allow reading and writing calendars and address books that are direct
|
||||
# children of the principal collection for the member of some groups
|
||||
[calendarsWriter]
|
||||
groups: sysadmins,teachers,administration,administrators
|
||||
collection: {user}/[^/]+
|
||||
permissions: rw
|
||||
#[private]
|
||||
#user: .+
|
||||
#collection: {user}/private/
|
||||
#permissions: RW
|
||||
|
||||
# Allow reading calendars and address books that are direct
|
||||
# children of the principal collection for other users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue