From 9d54f290451f10c869c4f182a2612c98ea194c48 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 1 Apr 2014 07:49:32 +0000 Subject: [PATCH] still need "User accounts" in tree --- admin/inc/class.admin_hooks.inc.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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');