--- loncom/auth/lonroles.pm 2006/01/06 21:03:23 1.144 +++ loncom/auth/lonroles.pm 2006/01/06 21:04:33 1.145 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.144 2006/01/06 21:03:23 albertel Exp $ +# $Id: lonroles.pm,v 1.145 2006/01/06 21:04:33 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -273,7 +273,11 @@ ENDENTERKEY # Send the user to the course they selected } elsif ($env{'request.course.id'}) { if (&Apache::lonnet::allowed('whn', - $env{'request.course.id'})) { + $env{'request.course.id'}) + || &Apache::lonnet::allowed('whn', + $env{'request.course.id'}.'/' + .$env{'request.course.sec'}) + ) { my $startpage = &courseloadpage($courseid); unless ($startpage eq 'firstres') { $msg = &mt('Entering course ....');