[LON-CAPA-cvs] cvs: loncom /auth roles.tab rolesplain.tab /interface loncreateuser.pm mydesk.tab

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 13 Oct 2003 21:41:19 -0000


albertel		Mon Oct 13 17:41:19 2003 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm mydesk.tab 
    /loncom/auth	roles.tab rolesplain.tab 
  Log:
  - adding new user role 'Scantron Operator' for uploading scantron grades,
  - adding new user permission 'usc' Upload Scantron grades, by default dc and sc can do it.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.68 loncom/interface/loncreateuser.pm:1.69
--- loncom/interface/loncreateuser.pm:1.68	Sun Sep 21 17:40:06 2003
+++ loncom/interface/loncreateuser.pm	Mon Oct 13 17:41:19 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.68 2003/09/21 21:40:06 www Exp $
+# $Id: loncreateuser.pm,v 1.69 2003/10/13 21:41:19 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -548,7 +548,7 @@
     '<th>Start</th><th>End</th></tr>');
     foreach ( sort( keys(%incdomains))) {
 	my $thisdomain=$_;
-        foreach ('dc','li','dg','au') {
+        foreach ('dc','li','dg','au','sc') {
             if (&Apache::lonnet::allowed('c'.$_,$thisdomain)) {
                my $plrole=&Apache::lonnet::plaintext($_);
                $r->print(<<ENDDROW);
Index: loncom/interface/mydesk.tab
diff -u loncom/interface/mydesk.tab:1.50 loncom/interface/mydesk.tab:1.51
--- loncom/interface/mydesk.tab:1.50	Wed Oct  8 11:32:00 2003
+++ loncom/interface/mydesk.tab	Mon Oct 13 17:41:19 2003
@@ -51,6 +51,7 @@
 6:3:clear
 7:2:clear
 7:2:adv:rcm:egrd.gif:enter:grades:go('/adm/grades');:Enter grades from check-out assessment resources
+7:2:pusc:$requested_domain:egrd.gif:enter:grades:go('/adm/grades?command=scantronupload');:Enter grades from check-out assessment resources
 9:2:any:any:vbkm.gif:view:bookmark:edit_bookmarks():Use or edit my bookmark collection
 10:1:clear
 10:1:any:any:anno.gif:calendar:announce:go('/adm/announcements');:Course announcements and my calendar
Index: loncom/auth/roles.tab
diff -u loncom/auth/roles.tab:1.24 loncom/auth/roles.tab:1.25
--- loncom/auth/roles.tab:1.24	Tue Sep  9 15:44:51 2003
+++ loncom/auth/roles.tab	Mon Oct 13 17:41:19 2003
@@ -1,6 +1,6 @@
 su:s csu&U:sma:mau:cdc&U:dro:psa
 dc:s bre:sma
-dc:d cli&UIK:cau&U:cdg&UIK:mau:ccc&U:cin&UIK:cta&UIK:cep&UIK:ccr&UIK:cst&UIK:cad&UIK:dro:mky:psa
+dc:d cli&UIK:cau&U:cdg&UIK:mau:ccc&U:cin&UIK:cta&UIK:cep&UIK:ccr&UIK:cst&UIK:cad&UIK:csc&UIK:dro:mky:psa:usc
 cc:s bre:sma:mcr
 cc:c cin&IK:cta&IK:cep&IK:ccr&IK:cst&IK:are:cre:ere:vgr:gan:srm:opa:mgr:rin:pch:plc:mdc
 in:s sma
@@ -22,4 +22,6 @@
 ca:s gan:sma:bre
 ca:d are:cre:ere
 dg:d bre&R
+sc:d usc
+
 
Index: loncom/auth/rolesplain.tab
diff -u loncom/auth/rolesplain.tab:1.10 loncom/auth/rolesplain.tab:1.11
--- loncom/auth/rolesplain.tab:1.10	Tue Sep  9 15:39:04 2003
+++ loncom/auth/rolesplain.tab	Mon Oct 13 17:41:19 2003
@@ -24,6 +24,7 @@
 au:Author
 dg:Domain Guest
 ca:Co-Author
+sc:Scantron Operator
 csu:Grant/revoke role of Superuser
 cdc:Grant/revoke role of Domain Coordinator
 ccc:Grant/revoke role of Course Coordinator
@@ -37,6 +38,7 @@
 cau:Grant/revoke role of Author
 cdg:Grant/revoke role of Domain Guest
 cca:Grant/revoke role of Co-Author
+csc:Grant/revoke role of Scantron Operator
 dro:Delete a role
 mky:Manage access keys
 mcr:Create a Course Custom Role
@@ -62,3 +64,4 @@
 opa:Set assessment parameters
 ain:Assume a student's identity
 psa:Post system frontpage announcements
+usc:Upload Scantron data
\ No newline at end of file