still need "User accounts" in tree

This commit is contained in:
Ralf Becker 2014-04-01 07:49:32 +00:00
parent de2f05ee27
commit 9d54f29045

View File

@ -60,6 +60,14 @@ class admin_hooks
$file['Site Configuration'] = egw::link('/index.php','menuaction=admin.uiconfig.index&appname=admin'); $file['Site Configuration'] = egw::link('/index.php','menuaction=admin.uiconfig.index&appname=admin');
} }
if (! $GLOBALS['egw']->acl->check('account_access',1,'admin'))
{
$file['User Accounts'] = array(
'id' => '/accounts',
'icon' => common::image('addressbook', 'accounts'),
);
}
if (! $GLOBALS['egw']->acl->check('account_access',16,'admin')) if (! $GLOBALS['egw']->acl->check('account_access',16,'admin'))
{ {
$file['Bulk password reset'] = egw::link('/index.php','menuaction=admin.admin_passwordreset.index'); $file['Bulk password reset'] = egw::link('/index.php','menuaction=admin.admin_passwordreset.index');