Changeset 317 for trunk/expressoAdmin1_2/inc/class.uiaccounts.inc.php
- Timestamp:
- 06/17/08 14:43:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uiaccounts.inc.php
r309 r317 62 62 $context_display .= '<br>'.$tmp_context; 63 63 } 64 65 64 // Verifica se o administrador tem acesso. 66 65 if (!$this->functions->check_acl($account_lid,'list_users')) … … 136 135 ($this->functions->check_acl($account_lid,'edit_sambausers_attributes')) || 137 136 ($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')) 139 139 ) 140 140 $can_edit = True; … … 369 369 (!$this->functions->check_acl($manager_account_lid,'edit_sambausers_attributes')) && 370 370 (!$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')) 372 373 ) 373 374 { … … 385 386 $disabled = 'disabled'; 386 387 $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 = ''; 387 394 } 388 395 // TOTAIS MENOS O SAMBA
Note: See TracChangeset
for help on using the changeset viewer.