[LON-CAPA-cvs] cvs: loncom /interface portfolio.pm
raeburn
raeburn at source.lon-capa.org
Sat Sep 7 15:13:00 EDT 2024
raeburn Sat Sep 7 19:13:00 2024 EDT
Modified files:
/loncom/interface portfolio.pm
Log:
- Help link to right of "Current Access Status" column header points at
Portfolio_ShareFile_Group.hlp in group context, regardless of privileges.
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.270 loncom/interface/portfolio.pm:1.271
--- loncom/interface/portfolio.pm:1.270 Sat Sep 7 03:22:51 2024
+++ loncom/interface/portfolio.pm Sat Sep 7 19:13:00 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network
# portfolio browser
#
-# $Id: portfolio.pm,v 1.270 2024/09/07 03:22:51 raeburn Exp $
+# $Id: portfolio.pm,v 1.271 2024/09/07 19:13:00 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -315,10 +315,10 @@
.'</p>'
);
my ($acl_helpfile,$acl_helplink);
- if ($can_setacl) {
- $acl_helpfile = 'Portfolio ShareFile';
- } elsif ($caller eq 'coursegrp_portfolio') {
+ if ($caller eq 'coursegrp_portfolio') {
$acl_helpfile = 'Portfolio ShareFile Group';
+ } elsif ($can_setacl) {
+ $acl_helpfile = 'Portfolio ShareFile';
}
unless ($can_setacl || $can_viewacl) {
$acl_helpfile = 'Portfolio ShareFile Off';
@@ -2764,7 +2764,7 @@
$can_modify = 1;
$can_delete = 1;
$can_upload = 1;
- if (&Apache::lonnet::usertools_access('','','portaccess',
+ if (&Apache::lonnet::usertools_access($uname,$udom,'portaccess',
undef,'tools')) {
$can_viewacl = 1;
$can_setacl = 1;
More information about the LON-CAPA-cvs
mailing list