Changes between Version 5 and Version 6 of Classes/CodeChanges


Ignore:
Timestamp:
Sep 29, 2011 3:31:47 PM (13 years ago)
Author:
sklower
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Classes/CodeChanges

    v5 v6  
    77 1.  '''Instructors and TA's are allowed to sudo to any student on the ops node'''
    88
    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.
    1017
    1118 2.  '''Experiment Permissions'''
     
    2936
    3037 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.
    3240
    33  __Code changes__: ...
     41 __Code changes__:
    3442
    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'''
    3648
    3749 Student accounts are not created in the normal manner (create
     
    4153 project USC558L, sc558, and then a number of accounts are
    4254 generated of the form sc558[a-z][a-z] as many are need
    43  to accomodate the students in the class.
     55 to accommodate the students in the class.
    4456
    4557 The instructor provides a list of email address, and the
     
    5365 as in a new account.
    5466
    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'''
    5688
    5789 student accounts may not join other projects.
     
    68100 and not email address.
    69101
    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