Adapt based on additional comments.
This commit is contained in:
2
config
2
config
@@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
# Authentication method
|
# Authentication method
|
||||||
# Value: none | htpasswd | remote_user | http_x_remote_user | ldap
|
# Value: none | htpasswd | remote_user | http_x_remote_user | ldap
|
||||||
#type = ldap
|
#type = none
|
||||||
|
|
||||||
# URI to the LDAP server
|
# URI to the LDAP server
|
||||||
#ldap_uri = ldap://localhost
|
#ldap_uri = ldap://localhost
|
||||||
|
|||||||
33
rights
33
rights
@@ -1,27 +1,22 @@
|
|||||||
|
# -*- mode: conf -*-
|
||||||
|
# vim:ft=cfg
|
||||||
# Allow all rights for the Administrator
|
# Allow all rights for the Administrator
|
||||||
[root]
|
#[root]
|
||||||
user: Administrator
|
#user: Administrator
|
||||||
collection: .*
|
#collection: .*
|
||||||
permissions: RW
|
#permissions: RW
|
||||||
|
|
||||||
# Allow reading principal collection (same as username)
|
# Allow reading principal collection (same as username)
|
||||||
[principal]
|
#[principal]
|
||||||
user: .+
|
#user: .+
|
||||||
collection: {user}
|
#collection: {user}
|
||||||
permissions: R
|
#permissions: R
|
||||||
|
|
||||||
# Allow reading and writing private collection (same as username)
|
# Allow reading and writing private collection (same as username)
|
||||||
[private]
|
#[private]
|
||||||
user: .+
|
#user: .+
|
||||||
collection: {user}/private/
|
#collection: {user}/private/
|
||||||
permissions: RW
|
#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
|
|
||||||
|
|
||||||
# Allow reading calendars and address books that are direct
|
# Allow reading calendars and address books that are direct
|
||||||
# children of the principal collection for other users
|
# children of the principal collection for other users
|
||||||
|
|||||||
Reference in New Issue
Block a user