Changeset 1684 for trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
- Timestamp:
- 11/20/09 08:28:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
r458 r1684 53 53 { 54 54 // Caso nao seja admin, sai. 55 if ( $GLOBALS['phpgw']->acl->check('group_access',1,'admin'))55 if (!$GLOBALS['phpgw']->acl->check('run',1,'admin')) 56 56 { 57 57 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php')); … … 129 129 { 130 130 // Caso nao seja admin, sai. 131 if ( $GLOBALS['phpgw']->acl->check('group_access',1,'admin'))131 if (!$GLOBALS['phpgw']->acl->check('run',1,'admin')) 132 132 { 133 133 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php')); … … 207 207 function delete_managers() 208 208 { 209 if (!$GLOBALS['phpgw']->acl->check('run',1,'admin')) 210 { 211 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php')); 212 } 209 213 // Criar uma verificação e jogar a query para o BO. 210 214 $context = $_GET['context']; … … 232 236 { 233 237 // Caso nao seja admin, sai. 234 if ( $GLOBALS['phpgw']->acl->check('group_access',1,'admin'))238 if (!$GLOBALS['phpgw']->acl->check('run',1,'admin')) 235 239 { 236 240 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/admin/index.php'));
Note: See TracChangeset
for help on using the changeset viewer.