--- loncom/auth/lonroles.pm 2006/10/20 19:59:57 1.168 +++ loncom/auth/lonroles.pm 2006/10/20 22:05:55 1.169 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.168 2006/10/20 19:59:57 albertel Exp $ +# $Id: lonroles.pm,v 1.169 2006/10/20 22:05:55 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -313,7 +313,7 @@ ENDENTERKEY } } # Are we allowed to look at the first resource? - if (!&Apache::lonnet::allowed('bre',$furl)) { + if ($furl !~ m|^/adm/|) { # Guess not ... $furl=&Apache::lonpageflip::first_accessible_resource(); }