Ignore:
Timestamp:
11/20/09 08:28:07 (14 years ago)
Author:
niltonneto
Message:

Ticket #773 - Correção de problema crítico no acesso indevido aos links do Admin.

Location:
trunk/jabberit_messenger/inc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/inc/class.uiconforganization.inc.php

    r863 r1684  
    9090        public final function backPage() 
    9191        { 
    92                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
     92                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
    9393                { 
    94                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     94                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    9595                }                
    9696                 
  • trunk/jabberit_messenger/inc/class.uigroupslocked.inc.php

    r1438 r1684  
    112112        public final function add() 
    113113        { 
    114                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
     114                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
    115115                { 
    116                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     116                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    117117                }                
    118118                 
  • trunk/jabberit_messenger/inc/class.uihostsjabber.inc.php

    r946 r1684  
    9797        public final function backPage() 
    9898        { 
    99                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
     99                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
    100100                { 
    101                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     101                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    102102                }                
    103103                 
  • trunk/jabberit_messenger/inc/class.uimodule.inc.php

    r423 r1684  
    8989        public final function add() 
    9090        { 
    91                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
     91                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
    9292                { 
    93                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     93                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    9494                }                
    9595                 
Note: See TracChangeset for help on using the changeset viewer.