--- loncom/interface/lonindexer.pm 2009/09/25 15:37:32 1.200 +++ loncom/interface/lonindexer.pm 2009/10/30 05:12:01 1.201 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.200 2009/09/25 15:37:32 droeschl Exp $ +# $Id: lonindexer.pm,v 1.201 2009/10/30 05:12:01 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -913,8 +913,7 @@ sub display_line { return OK; } # Do we have permission to look at this? - - if($filecom[15] ne '1') { return OK if (!&Apache::lonnet::allowed('bre',$pathprefix.$filecom[0])); } + if($filecom[15] ne '1') { return OK if ((!&Apache::lonnet::allowed('bre',$pathprefix.$filecom[0])) && (!&Apache::lonnet::allowed('bro',$pathprefix.$filecom[0]))); } # make absolute links appear on different background #SB if ($absolute) { $fileclr='#ccdd99'; }