diff --git a/admin/inc/class.admin_hooks.inc.php b/admin/inc/class.admin_hooks.inc.php index 112ad42a8c..70a5c6570f 100644 --- a/admin/inc/class.admin_hooks.inc.php +++ b/admin/inc/class.admin_hooks.inc.php @@ -60,6 +60,14 @@ class admin_hooks $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')) { $file['Bulk password reset'] = egw::link('/index.php','menuaction=admin.admin_passwordreset.index');