mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
hook to register an app for group acl
This commit is contained in:
parent
21c9e960df
commit
ff7325276e
@ -33,7 +33,6 @@
|
|||||||
var $bo;
|
var $bo;
|
||||||
var $nextmatchs;
|
var $nextmatchs;
|
||||||
var $apps_with_acl = array(
|
var $apps_with_acl = array(
|
||||||
'addressbook' => True,
|
|
||||||
'todo' => True,
|
'todo' => True,
|
||||||
'calendar' => True,
|
'calendar' => True,
|
||||||
'projects' => True,
|
'projects' => True,
|
||||||
@ -67,6 +66,10 @@
|
|||||||
{
|
{
|
||||||
unset($this->apps_with_acl['addressbook']);
|
unset($this->apps_with_acl['addressbook']);
|
||||||
}
|
}
|
||||||
|
foreach($GLOBALS['egw']->hooks->process('group_acl','',true) as $app => $data)
|
||||||
|
{
|
||||||
|
if ($data) $this->apps_with_acl[$app] = $data;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function row_action($action,$type,$account_id)
|
function row_action($action,$type,$account_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user