[WWdevel] global.conf.dist in rel-2-1-patches

Sam Hathaway sh002i at math.rochester.edu
Sat Jan 29 11:36:54 EST 2005


On Jan 29, 2005, at 10:04 AM, Michael Gage wrote:

> Should global.conf.dist include entries for $guest  (which is set to 
> -1 by default) in version rel-2-1-patches?
>
> The HEAD version of global.conf.dist has this extra permission level.  
> I don't know if it is used in rel-2-1-patches.

Supporting guest doesn't require any changes in the code, since I've 
already backported the "login" privilege. I'll go ahead and backport 
guest support as well (although $guest should be set to -5 -- my 
mistake).

webwork2: new default classlist file. (sh002i)
	courses/defaultClasslist.lst
webwork2: made similar changes to default admin-course classlist. 
admin's password is "admin". (sh002i)
	courses/adminClasslist.lst
webwork2: fixed headers (sh002i)
	courses/{adminClasslist.lst,defaultClasslist.lst}
webwork2: added $guest to permissionLevels hash (sh002i)
	conf/global.conf.dist

At this point, an instructor will be able to manually change the 
permission level of existing practice users to -5 to prevent them from 
changing email, password, sending feedback, etc., and practice users 
imported from the default and admin classlist files will have the 
reduced permission level.
-sam





More information about the webwork-devel mailing list