Changes between Version 5 and Version 6 of Classes/CodeChanges
- Timestamp:
- Sep 29, 2011 3:31:47 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Classes/CodeChanges
v5 v6 7 7 1. '''Instructors and TA's are allowed to sudo to any student on the ops node''' 8 8 9 Instructors may sudo to a TA but not converseley. 9 Instructors may sudo to a TA but not conversely. 10 11 __Code changes__: 12 13 The instacct utility (described below) has a function which generates an include file 14 for sudoers which is copied to the ops node and installed as /usr/local/etc/sudoers.classes. 15 The function is run either by explicit request on the command line, when students are assigned 16 to a class, or at the end of the semester when a class is wiped. 10 17 11 18 2. '''Experiment Permissions''' … … 29 36 30 37 Instructors and TA's are allowed to Freeze, Thaw and SU as a student 31 and edit a student's profile 38 and edit a student's profile. When an instructor ``removes'' a class 39 account from the project, instead of actually removing it, it recycles the account. 32 40 33 __Code changes__: ...41 __Code changes__: 34 42 35 4. '''Recycleable student accounts''' 43 www/user_defs.php contains routines InstructedBy() and CourseAcct(), 44 there are perl versions of these in db/User.pm.in. These are 45 also referenced in delete_user.php3 moduserinfo.php3 showuser.php3 suuser.php3 46 47 4. '''Recyclable student accounts''' 36 48 37 49 Student accounts are not created in the normal manner (create … … 41 53 project USC558L, sc558, and then a number of accounts are 42 54 generated of the form sc558[a-z][a-z] as many are need 43 to accom odate the students in the class.55 to accommodate the students in the class. 44 56 45 57 The instructor provides a list of email address, and the … … 53 65 as in a new account. 54 66 55 __Code changes__: instacct 67 __Code changes__: 68 69 The source for the instacct utility was added to the tree as 70 71 testbed/account/instacct.in, manage_class.in 72 73 The separate perl script manage_class gets installed on the ops node 74 to invoke an sslxmlrpc call so that instructors may do almost anything 75 that a testbed adminstrator could do. 76 77 The admin-only commands are to set the stem for class names, or to generate 78 a number of accounts in advance that are ready to assign - in the same state 79 a previously used and wiped account as in. 80 81 Since our funders require us to provide usage goals and metrics, we track 82 the number of student accounts which were generated, (re-)assigned and wiped 83 by means of a couple of additional tables in the database: 84 85 project_history and project_attributes. 86 87 5. '''Other peculiarities of student accounts''' 56 88 57 89 student accounts may not join other projects. … … 68 100 and not email address. 69 101 70 __Code changes__: database, ... 102 __Code changes__: 103 104 account/tbacct.in needed some minor changes when it generates a .forward 105 file letting the email_aliases entry preempt the usr_email in the users table. 106 107 An unresolved bug is letting an instructor correct a students email, now that 108 it is kept in a separate place. 109