With the new permission model and removed default relationships configuration it is impossible to automatically set-up large scale environment. For example: if all user account are in LDAP we must periodically synchronize Davical with LDAP (we have a cron job for this), but we also need manual relationship management for new users (even if 99% of them have same relationships). This patch reintroduces the old "default_relationships" management in accordance with the new permission model. The new configuration option example:
$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','schedule-deliver-reply','schedule-query-freebusy')
4566 => array('read','write-properties','write-content','read-current-user-privilege-set','bind','unbind','read-free-busy','schedule-deliver-invite','schedule-deliver-reply','schedule-query-freebusy','schedule-send-invite','schedule-send-reply','schedule-send-freebusy')
);