Ignore:
Timestamp:
06/08/07 15:18:19 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.user.inc.php

    r30 r32  
    235235                        $diff = array_diff($new_values, $old_values); 
    236236                         
     237                        $manager_account_lid = $_SESSION['phpgw_session']['session_lid']; 
     238                        if ((!$this->functions->check_acl($manager_account_lid,'edit_users')) && 
     239                                (!$this->functions->check_acl($manager_account_lid,'change_users_password')) && 
     240                                (!$this->functions->check_acl($manager_account_lid,'edit_sambausers_attributes')) 
     241                                ) 
     242                        { 
     243                                $return['status'] = false; 
     244                                $return['msg'] = 'Você não tem direito de editar informações de usuários.'; 
     245                                return $return; 
     246                        } 
     247 
     248                        // Verifica o acesso do gerente 
     249                        if (!$this->functions->check_acl($_SESSION['phpgw_session']['session_lid'], 'edit_users')) 
     250                        { 
     251                                 
     252                        } 
     253                         
    237254                        // Verifica o acesso do gerente 
    238255                        if ($this->functions->check_acl($_SESSION['phpgw_session']['session_lid'], 'edit_users')) 
Note: See TracChangeset for help on using the changeset viewer.