Configuration/settings/default relationships

From Davical
< Configuration‎ | settings
Revision as of 15:54, 6 January 2017 by Fsfs (talk | contribs) (formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

If the $c->default_privileges is not suitable for desired permission settings, for complex permission management you can use $c->default_relationships:

$c->default_relationships = array(
    4563 => array('read','read-current-user-privilege-set'),
    4564 => array('read','read-current-user-privilege-set','read-free-busy','schedule-deliver-invite', 'schedule-deliver-reply', 'schedule-query-freebusy'),
    4565 => array('read','write-properties','write-content','read-current-user-privilege-set','bind','unbind','read-free-busy','schedule-deliver-invite',

This would set principals grants with specified permissions for newly created users. For example: 4563 => array('read','read-current-user-privilege-set') allows read and read-current-user-privilege-set to principal with ID 4563.

Available from DAViCal version: and later for users created with the LDAP driver

Available from DAViCal version: 1.1.5 and later for internal auth and all drivers shipped with DAViCal