egroupware/addressbook/inc/hook_addressbook_add_def_acl.inc.php

7 lines
159 B
PHP
Executable File

<?php
global $acl,$account_id;
// Add default acl to allow the new user to access their
// addressbook
$acl->add('addressbook','u_'.$account_id,1);
?>