mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Add default acl hook to be called by admin for new accounts
This commit is contained in:
parent
ace52f5b19
commit
c5055a9d04
6
addressbook/inc/hook_addressbook_add_def_acl.inc.php
Executable file
6
addressbook/inc/hook_addressbook_add_def_acl.inc.php
Executable file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
global $acl,$account_id;
|
||||
// Add default acl to allow the new user to access their
|
||||
// addressbook
|
||||
$acl->add('addressbook','u_'.$account_id,1);
|
||||
?>
|
Loading…
Reference in New Issue
Block a user