Diff for /loncom/auth/loncacc.pm between versions 1.33 and 1.34

version 1.33, 2004/01/27 22:54:59 version 1.34, 2004/02/02 18:50:21
Line 53  sub constructaccess { Line 53  sub constructaccess {
     # We do not allow editing of previous versions of files.      # We do not allow editing of previous versions of files.
     if ($url=~/\.(\d+)\.(\w+)$/) { return ''; }      if ($url=~/\.(\d+)\.(\w+)$/) { return ''; }
     my @possibledomains = &Apache::lonnet::current_machine_domains();      my @possibledomains = &Apache::lonnet::current_machine_domains();
     &Apache::lonnet::logthis("got domains of ".join(':',@possibledomains));  
     if ($ownername eq $ENV{'user.name'}) {      if ($ownername eq $ENV{'user.name'}) {
  foreach my $domain (@possibledomains) {   foreach my $domain (@possibledomains) {
     if ($domain eq $ENV{'user.domain'}) {      if ($domain eq $ENV{'user.domain'}) {
Line 62  sub constructaccess { Line 61  sub constructaccess {
  }   }
     }      }
           
   
     foreach my $domain (@possibledomains) {      foreach my $domain (@possibledomains) {
  my $capriv='user.priv.ca./'.$domain.'/'.$ownername.'./';   my $capriv='user.priv.ca./'.$domain.'/'.$ownername.'./';
  foreach (keys %ENV) {   foreach (keys %ENV) {

Removed from v.1.33  
changed lines
  Added in v.1.34


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