version 1.223, 2025/01/12 23:34:20
|
version 1.224, 2025/01/13 00:57:39
|
Line 6699 sub can_modify_userinfo {
|
Line 6699 sub can_modify_userinfo {
|
$canmodify{$field} = 0; |
$canmodify{$field} = 0; |
if (&Apache::lonnet::allowed('mau',$dom)) { |
if (&Apache::lonnet::allowed('mau',$dom)) { |
$canmodify{$field} = 1; |
$canmodify{$field} = 1; |
|
} elsif (($context ne 'selfcreate') && |
|
($env{'request.role.dom'} ne $dom) && |
|
($env{'user.domain'} ne $dom)) { |
|
$canmodify{$field} = 0; |
} else { |
} else { |
if (ref($domconfig{'usermodification'}) eq 'HASH') { |
if (ref($domconfig{'usermodification'}) eq 'HASH') { |
if (ref($domconfig{'usermodification'}{$context}) eq 'HASH') { |
if (ref($domconfig{'usermodification'}{$context}) eq 'HASH') { |