--- loncom/interface/lonuserutils.pm 2007/12/22 00:39:52 1.22
+++ loncom/interface/lonuserutils.pm 2007/12/22 00:47:25 1.23
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.22 2007/12/22 00:39:52 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.23 2007/12/22 00:47:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1518,13 +1518,14 @@ sub gather_userinfo {
my $space = ', ';
if ($format eq 'html' || $format eq 'view') {
$spanstart = '';
- if ($permission->{'cusr'}) {
- if ($numcids > 1) {
- $spanstart .= '';
- } else {
- $spanstart .= '';
- }
- }
+ # FIXME: actions on courses disabled for now
+# if ($permission->{'cusr'}) {
+# if ($numcids > 1) {
+# $spanstart .= '';
+# } else {
+# $spanstart .= '';
+# }
+# }
$spanend = '
';
$space = ', ';
}
@@ -2367,6 +2368,10 @@ sub select_actions {
chgsec => "Change section associated with user roles",
);
my ($output,$options,%choices);
+ # FIXME Disable actions for now for roletype=course in domain context
+ if ($context eq 'domain' && $setting eq 'course') {
+ return;
+ }
if ($statusmode eq 'Any') {
$options .= '
';