Ignore:
Timestamp:
06/17/08 14:43:30 (16 years ago)
Author:
niltonneto
Message:

Versionamento feito pelo desenvolvedor (jakjr).

File:
1 edited

Legend:

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

    r309 r317  
    6262                                $context_display .= '<br>'.$tmp_context; 
    6363                        } 
    64                          
    6564                        // Verifica se o administrador tem acesso. 
    6665                        if (!$this->functions->check_acl($account_lid,'list_users')) 
     
    136135                                        ($this->functions->check_acl($account_lid,'edit_sambausers_attributes')) ||   
    137136                                        ($this->functions->check_acl($account_lid,'change_users_quote')) || 
    138                                         ($this->functions->check_acl($account_lid,'manipulate_corporative_information')) 
     137                                        ($this->functions->check_acl($account_lid,'manipulate_corporative_information')) || 
     138                                        ($this->functions->check_acl($account_lid,'edit_users_phonenumber')) 
    139139                                        )  
    140140                                        $can_edit = True; 
     
    369369                                (!$this->functions->check_acl($manager_account_lid,'edit_sambausers_attributes')) && 
    370370                                (!$this->functions->check_acl($manager_account_lid,'view_users')) && 
    371                                 (!$this->functions->check_acl($manager_account_lid,'manipulate_corporative_information')) 
     371                                (!$this->functions->check_acl($manager_account_lid,'manipulate_corporative_information')) && 
     372                                (!$this->functions->check_acl($manager_account_lid,'edit_users_phonenumber')) 
    372373                                ) 
    373374                        { 
     
    385386                                $disabled = 'disabled'; 
    386387                                $disabled_samba = ''; 
     388                        } 
     389                        // SOMENTE ALTERAÇÃO DE TELEFONE 
     390                        if ((!$this->functions->check_acl($manager_account_lid,'edit_users')) && ($this->functions->check_acl($manager_account_lid,'edit_users_phonenumber'))) 
     391                        { 
     392                                $disabled = 'disabled'; 
     393                                $disabled_phonenumber = ''; 
    387394                        } 
    388395                        // TOTAIS MENOS O SAMBA 
Note: See TracChangeset for help on using the changeset viewer.