| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
3 | # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester |
| 4 | # $Id: global.conf.dist,v 1.22 2003-06-06 21:47:23 sh002i Exp $ |
4 | # $Id: global.conf.dist,v 1.23 2003-06-06 23:52:13 malsyned Exp $ |
| 5 | ################################################################################ |
5 | ################################################################################ |
| 6 | |
6 | |
| 7 | # This file is used to set up the default WeBWorK course environment for all |
7 | # This file is used to set up the default WeBWorK course environment for all |
| 8 | # requests. Values may be overwritten by the course.conf for a specific course. |
8 | # requests. Values may be overwritten by the course.conf for a specific course. |
| 9 | # All package variables set in this file are added to the course environment. |
9 | # All package variables set in this file are added to the course environment. |
| … | |
… | |
| 222 | driver => "WeBWorK::DB::Driver::GDBM", |
222 | driver => "WeBWorK::DB::Driver::GDBM", |
| 223 | source => "$courseDirs{DATA}/$courseName\_webwork_DB", |
223 | source => "$courseDirs{DATA}/$courseName\_webwork_DB", |
| 224 | params => { psvnLength => 5 }, |
224 | params => { psvnLength => 5 }, |
| 225 | }, |
225 | }, |
| 226 | ); |
226 | ); |
|
|
227 | |
|
|
228 | # If you are using the GlobalTableEmulator, you need these to be set to |
|
|
229 | # a user that will exist. Professors will probably want to override this |
|
|
230 | # in their course's course.conf |
|
|
231 | $dbLayout{set}->{params}->{globalUserID} = "professor"; |
|
|
232 | $dbLayout{problem}->{params}->{globalUserID} = "professor"; |
|
|
233 | |
| 227 | |
234 | |
| 228 | # This lets you specify a minimum permission level needed to perform |
235 | # This lets you specify a minimum permission level needed to perform |
| 229 | # certain actions. In the current system, >=10 will allow a professor |
236 | # certain actions. In the current system, >=10 will allow a professor |
| 230 | # to perform the action, >=5 will allow a TA to, and >=0 will allow a |
237 | # to perform the action, >=5 will allow a TA to, and >=0 will allow a |
| 231 | # student to perform an action (almost never what you want). |
238 | # student to perform an action (almost never what you want). |