| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.187 2007/03/15 23:57:11 sh002i Exp $ |
5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.188 2007/03/27 17:04:01 glarose 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. |
| … | |
… | |
| 406 | abbrevs => [qw/ A a audit /], |
406 | abbrevs => [qw/ A a audit /], |
| 407 | behaviors => [qw/ allow_course_access include_in_assignment include_in_stats include_in_email /], |
407 | behaviors => [qw/ allow_course_access include_in_assignment include_in_stats include_in_email /], |
| 408 | }, |
408 | }, |
| 409 | Drop => { |
409 | Drop => { |
| 410 | abbrevs => [qw/ D d drop withdraw /], |
410 | abbrevs => [qw/ D d drop withdraw /], |
|
|
411 | behaviors => [qw/ /], |
|
|
412 | }, |
|
|
413 | Proctor => { |
|
|
414 | abbrevs => [qw/ P p proctor /], |
| 411 | behaviors => [qw/ /], |
415 | behaviors => [qw/ /], |
| 412 | }, |
416 | }, |
| 413 | ); |
417 | ); |
| 414 | |
418 | |
| 415 | ################################################################################ |
419 | ################################################################################ |
| … | |
… | |
| 599 | # below. |
603 | # below. |
| 600 | # |
604 | # |
| 601 | %userRoles = ( |
605 | %userRoles = ( |
| 602 | guest => -5, |
606 | guest => -5, |
| 603 | student => 0, |
607 | student => 0, |
| 604 | proctor => 2, |
608 | login_proctor => 2, |
|
|
609 | grade_proctor => 3, |
| 605 | ta => 5, |
610 | ta => 5, |
| 606 | professor => 10, |
611 | professor => 10, |
| 607 | ); |
612 | ); |
| 608 | |
613 | |
| 609 | # this hash maps operations to the roles that are allowed to perform those |
614 | # this hash maps operations to the roles that are allowed to perform those |
| … | |
… | |
| 616 | report_bugs => "student", |
621 | report_bugs => "student", |
| 617 | submit_feedback => "student", |
622 | submit_feedback => "student", |
| 618 | change_password => "student", |
623 | change_password => "student", |
| 619 | change_email_address => "student", |
624 | change_email_address => "student", |
| 620 | |
625 | |
| 621 | proctor_quiz => "proctor", |
626 | proctor_quiz_login => "login_proctor", |
|
|
627 | proctor_quiz_grade => "grade_proctor", |
| 622 | view_proctored_tests => "ta", |
628 | view_proctored_tests => "ta", |
| 623 | view_hidden_work => "ta", |
629 | view_hidden_work => "ta", |
| 624 | |
630 | |
| 625 | view_multiple_sets => "ta", |
631 | view_multiple_sets => "ta", |
| 626 | view_unopened_sets => "ta", |
632 | view_unopened_sets => "ta", |