| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.75 2004/06/16 02:13:44 gage Exp $ |
5 | # $CVSHeader: webwork-modperl/conf/global.conf.dist,v 1.76 2004/06/23 21:04:17 toenail Exp $ |
| 6 | # |
6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify it under |
7 | # This program is free software; you can redistribute it and/or modify it under |
| 8 | # the terms of either: (a) the GNU General Public License as published by the |
8 | # the terms of either: (a) the GNU General Public License as published by the |
| 9 | # Free Software Foundation; either version 2, or (at your option) any later |
9 | # Free Software Foundation; either version 2, or (at your option) any later |
| 10 | # version, or (b) the "Artistic License" which comes with this package. |
10 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 74 | htdocs_temp => "/webwork2_files/tmp", |
74 | htdocs_temp => "/webwork2_files/tmp", |
| 75 | equationCache => "/webwork2_files/tmp/equations", |
75 | equationCache => "/webwork2_files/tmp/equations", |
| 76 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
76 | docs => "http://webhost.math.rochester.edu/webworkdocs/docs", |
| 77 | local_help => "/webwork2_files/helpFiles", |
77 | local_help => "/webwork2_files/helpFiles", |
| 78 | oldProf => "/webwork1/profLogin.pl", |
78 | oldProf => "/webwork1/profLogin.pl", |
|
|
79 | bugReporter => "http://bugs.webwork.rochester.edu/enter_bug.cgi?product=WeBWorK%20mod_perl", |
| 79 | jsMath => "/webwork2_files/jsMath/jsMath.js", |
80 | jsMath => "/webwork2_files/jsMath/jsMath.js", |
| 80 | asciimath => "/webwork2_files/ASCIIMathML/ASCIIMathML.js", |
81 | asciimath => "/webwork2_files/ASCIIMathML/ASCIIMathML.js", |
| 81 | ); |
82 | ); |
| 82 | |
83 | |
| 83 | ################################################################################ |
84 | ################################################################################ |
| … | |
… | |
| 225 | |
226 | |
| 226 | # This lets you specify a minimum permission level needed to perform certain |
227 | # This lets you specify a minimum permission level needed to perform certain |
| 227 | # actions. In the current system, >=10 will allow a professor to perform the |
228 | # actions. In the current system, >=10 will allow a professor to perform the |
| 228 | # action, >=5 will allow a TA to, and >=0 will allow a student to perform an |
229 | # action, >=5 will allow a TA to, and >=0 will allow a student to perform an |
| 229 | # action (almost never what you want). |
230 | # action (almost never what you want). |
|
|
231 | my $student = 0; |
| 230 | my $ta = 5; |
232 | my $ta = 5; |
| 231 | my $professor = 10; |
233 | my $professor = 10; |
| 232 | %permissionLevels = ( |
234 | %permissionLevels = ( |
| 233 | report_bugs => 0, |
235 | report_bugs => $student, |
| 234 | view_multiple_sets => $ta, |
236 | view_multiple_sets => $ta, |
| 235 | view_unopened_sets => $ta, |
237 | view_unopened_sets => $ta, |
| 236 | view_unpublished_sets => $ta, |
238 | view_unpublished_sets => $ta, |
| 237 | view_answers => $ta, |
239 | view_answers => $ta, |
| 238 | become_student => $professor, |
240 | become_student => $professor, |