Changeset 1684 for trunk/admin


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/admin/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/inc/hook_admin.inc.php

    r1174 r1684  
    2121                $file['Peer Servers']               = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiserver.list_servers'); 
    2222        } 
    23 */ 
    24         /*if (! $GLOBALS['phpgw']->acl->check('account_access',1,'admin')) 
    25         { 
    26                 $file['User Accounts']              = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_users'); 
    27         } 
    28  
    29         if (! $GLOBALS['phpgw']->acl->check('group_access',1,'admin')) 
    30         { 
    31                 $file['User Groups']                = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_groups'); 
    32         }*/ 
    33  
     23*/       
    3424        if (! $GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
    3525        { 
  • trunk/admin/inc/hook_sidebox_menu.inc.php

    r89 r1684  
    3030                        $file['Site Configuration']         = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiconfig.index&appname=admin'); 
    3131                } 
    32 /* 
     32/*               
    3333                if (! $GLOBALS['phpgw']->acl->check('peer_server_access',1,'admin')) 
    3434                { 
    3535                        $file['Peer Servers']               = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiserver.list_servers'); 
    36                 } 
    37                 if (! $GLOBALS['phpgw']->acl->check('account_access',1,'admin')) 
    38                 { 
    39                         $file['User Accounts']              = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_users'); 
    40                 } 
    41  
    42                 if (! $GLOBALS['phpgw']->acl->check('group_access',1,'admin')) 
    43                 { 
    44                         $file['User Groups']                = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_groups'); 
    4536                } 
    4637*/ 
Note: See TracChangeset for help on using the changeset viewer.