Diff for /loncom/interface/lonhtmlcommon.pm between versions 1.358.2.19.2.6 and 1.358.2.19.2.7

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)) {

Removed from v.1.358.2.19.2.6  
changed lines
  Added in v.1.358.2.19.2.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>