version 1.463, 2022/11/16 14:24:35
|
version 1.464, 2022/11/17 19:07:21
|
Line 5366 sub handler {
|
Line 5366 sub handler {
|
'<span class="LC_error">'.&mt('You do not have permission to view change logs').'</span>'); |
'<span class="LC_error">'.&mt('You do not have permission to view change logs').'</span>'); |
} |
} |
} elsif ($env{'form.action'} eq 'helpdesk') { |
} elsif ($env{'form.action'} eq 'helpdesk') { |
if (($permission->{'owner'}) || ($permission->{'co-owner'})) { |
if (($permission->{'owner'} || $permission->{'co-owner'}) && |
|
($permission->{'cusr'} || $permission->{'view'})) { |
if ($env{'form.state'} eq 'process') { |
if ($env{'form.state'} eq 'process') { |
if ($permission->{'owner'}) { |
if ($permission->{'owner'}) { |
&update_helpdeskaccess($r,$permission,$brcrum); |
&update_helpdeskaccess($r,$permission,$brcrum); |
Line 5796 sub print_main_menu {
|
Line 5797 sub print_main_menu {
|
icon => 'helpdesk-access.png', |
icon => 'helpdesk-access.png', |
#help => 'Course_Helpdesk_Access', |
#help => 'Course_Helpdesk_Access', |
url => '/adm/createuser?action=helpdesk', |
url => '/adm/createuser?action=helpdesk', |
permission => ($permission->{'owner'} || $permission->{'co-owner'}), |
permission => (($permission->{'owner'} || $permission->{'co-owner'}) && |
|
($permission->{'view'} || $permission->{'cusr'})), |
linktitle => 'Helpdesk access options', |
linktitle => 'Helpdesk access options', |
}, |
}, |
{ |
{ |