Diff for /loncom/interface/loncreateuser.pm between versions 1.12 and 1.13

version 1.12, 2001/04/12 19:43:49 version 1.13, 2001/04/12 23:12:58
Line 108  ENDENHEAD Line 108  ENDENHEAD
     my $uhome=&Apache::lonnet::homeserver($ccuname,$ccdomain);      my $uhome=&Apache::lonnet::homeserver($ccuname,$ccdomain);
     my %incdomains;       my %incdomains; 
     my %inccourses;      my %inccourses;
     $incdomains{$ENV{'user.domain'}}=1;      map {
          $incdomains{$_}=1;
       } %Apache::lonnet::hostdom;
     map {      map {
  if ($_=~/^user\.priv\.cm\.\/(\w+)\/(\w+)/) {   if ($_=~/^user\.priv\.cm\.\/(\w+)\/(\w+)/) {
     $inccourses{$1.'_'.$2}=1;      $inccourses{$1.'_'.$2}=1;
Line 194  ENDNUSER Line 196  ENDNUSER
                  $area=$carea;                   $area=$carea;
       } else {        } else {
                  if ($area=~/^\/(\w+)\//) {                   if ($area=~/^\/(\w+)\//) {
      $incdomains{$1}=1;  
                      if (&Apache::lonnet::allowed('c'.$trole,$1)) {                       if (&Apache::lonnet::allowed('c'.$trole,$1)) {
  $allows=1;   $allows=1;
                      }                       }
Line 228  ENDNUSER Line 229  ENDNUSER
    $r->print('</table>');     $r->print('</table>');
          }              }   
     }      }
     $r->print('<hr><h3>Add Roles</h3><h4>System Level</h4>');      $r->print('<hr><h3>Add Roles</h3>');
 #  #
 # Domain level  # Domain level
 #  #

Removed from v.1.12  
changed lines
  Added in v.1.13


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