[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /auth lonroles.pm
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2014-03-25 9:29:43
Message-ID: cvsraeburn1395739783 () cvsserver
[Download RAW message or body]
raeburn Tue Mar 25 09:29:43 2014 EDT
Modified files:
/loncom/auth lonroles.pm
Log:
- Update some comments for changes in rev. 1.299.
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.299 loncom/auth/lonroles.pm:1.300
--- loncom/auth/lonroles.pm:1.299 Wed Mar 19 16:20:36 2014
+++ loncom/auth/lonroles.pm Tue Mar 25 09:29:43 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.299 2014/03/19 16:20:36 musolffc Exp $
+# $Id: lonroles.pm,v 1.300 2014/03/25 09:29:43 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -664,9 +664,9 @@
}
}
}
-
- # If it's an external resource,
+ # Are we allowed to look at the first resource?
if ($furl =~ m{^(/adm/wrapper|)/ext/}) {
+ # If it's an external resource,
# strip off the symb argument and possible query
my ($exturl,$symb) = ($furl =~ m{^(.+)(?:\?|\&)symb=(.+)$});
# Unencode $symb
@@ -675,7 +675,7 @@
if (!&Apache::lonnet::allowed('bre',$exturl,$symb)) {
$furl = &Apache::lonpageflip::first_accessible_resource();
}
- # For local resources just check for permission
+ # For other resources just check for permission
} elsif (!&Apache::lonnet::allowed('bre',$furl)) {
$furl = &Apache::lonpageflip::first_accessible_resource();
}
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic