version 1.358.2.19.2.6, 2023/01/23 05:47:50
|
version 1.358.2.19.2.7, 2023/02/03 04:29:22
|
Line 3473 sub jump_to_editres {
|
Line 3473 sub jump_to_editres {
|
if ($cfile =~ m{^/priv/($match_domain)/($match_username)/}) { |
if ($cfile =~ m{^/priv/($match_domain)/($match_username)/}) { |
my ($audom,$auname) = ($1,$2); |
my ($audom,$auname) = ($1,$2); |
unless (&Apache::lonnet::is_course($audom,$auname)) { |
unless (&Apache::lonnet::is_course($audom,$auname)) { |
unless ((&Apache::lonnet::will_trust('othcoau',$env{'user.domain'},$audom)) && |
|
(&Apache::lonnet::will_trust('coaurem',$audom,$env{'user.domain'}))) { |
|
return; |
|
} |
|
if (($symb ne '') && ($env{'request.course.id'}) && |
if (($symb ne '') && ($env{'request.course.id'}) && |
(&Apache::lonnet::allowed('mdc',$env{'request.course.id'}))) { |
(&Apache::lonnet::allowed('mdc',$env{'request.course.id'}))) { |
unless (&Apache::lonnet::can_switchserver($env{'user.domain'},$home)) { |
unless (&Apache::lonnet::can_switchserver($env{'user.domain'},$home)) { |