Revision: 20995
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20995
Author:   sigurdne
Date:     2010-01-30 16:24:18 +0000 (Sat, 30 Jan 2010)
Log Message:
-----------
Improvement: allow local admin on application 4565:4680

Modified Paths:
--------------
    people/sigurdne/modules/hrm/trunk/inc/class.menu.inc.php

Modified: people/sigurdne/modules/hrm/trunk/inc/class.menu.inc.php
===================================================================
--- people/sigurdne/modules/hrm/trunk/inc/class.menu.inc.php    2010-01-30 
16:22:18 UTC (rev 20994)
+++ people/sigurdne/modules/hrm/trunk/inc/class.menu.inc.php    2010-01-30 
16:24:18 UTC (rev 20995)
@@ -61,7 +61,9 @@
 
                        $menus['toolbar'] = array();
 
-                       if ( 
isset($GLOBALS['phpgw_info']['user']['apps']['admin']) )
+//                     if ( 
isset($GLOBALS['phpgw_info']['user']['apps']['admin']) )
+                       if ( $GLOBALS['phpgw']->acl->check('run', 
phpgwapi_acl::READ, 'admin')
+                       || $GLOBALS['phpgw']->acl->check('admin', 
phpgwapi_acl::ADD, 'property'))
                        {
                                $menus['admin'] = array
                                (



_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs

Reply via email to