| 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: webwork2/conf/global.conf.dist,v 1.145 2005/10/02 19:44:44 jj Exp $ |
5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.146 2005/10/05 18:16:48 sh002i 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. |
| … | |
… | |
| 487 | login => "guest", |
487 | login => "guest", |
| 488 | report_bugs => "student", |
488 | report_bugs => "student", |
| 489 | submit_feedback => "student", |
489 | submit_feedback => "student", |
| 490 | change_password => "student", |
490 | change_password => "student", |
| 491 | change_email_address => "student", |
491 | change_email_address => "student", |
| 492 | |
492 | |
| 493 | proctor_quiz => "proctor", |
493 | proctor_quiz => "proctor", |
| 494 | |
494 | |
| 495 | view_multiple_sets => "ta", |
495 | view_multiple_sets => "ta", |
| 496 | view_unopened_sets => "ta", |
496 | view_unopened_sets => "ta", |
| 497 | view_unpublished_sets => "ta", |
497 | view_unpublished_sets => "ta", |
| … | |
… | |
| 551 | |
551 | |
| 552 | ################################################################################ |
552 | ################################################################################ |
| 553 | # Status system |
553 | # Status system |
| 554 | ################################################################################ |
554 | ################################################################################ |
| 555 | |
555 | |
|
|
556 | # This is the default status given to new students and students with invalid |
|
|
557 | # or missing statuses. |
|
|
558 | $default_status = "Enrolled"; |
|
|
559 | |
| 556 | # The first abbreviation in the abbreviations list is the canonical |
560 | # The first abbreviation in the abbreviations list is the canonical |
| 557 | # abbreviation, and will be used when setting the status value in a user record |
561 | # abbreviation, and will be used when setting the status value in a user record |
| 558 | # or an exported classlist file. |
562 | # or an exported classlist file. |
| 559 | # |
563 | # |
| 560 | # Results are undefined if more than one status has the same abbreviation. |
564 | # Results are undefined if more than one status has the same abbreviation. |
| 561 | # |
565 | # |
| 562 | # The four behaviors that are controlled by status are: |
566 | # The four behaviors that are controlled by status are: |
| 563 | # allow_course_access => is this user allowed to log in? |
567 | # allow_course_access => is this user allowed to log in? |
| 564 | # include_in_assignment => is this user included when assigning as set to "all" users? |
568 | # include_in_assignment => is this user included when assigning as set to "all" users? |
| 565 | # include_in_stats => is this user included in statistical reports? |
569 | # include_in_stats => is this user included in statistical reports? |
|
|
570 | # include_in_email => is this user included in emails sent to the class? |
| 566 | # include_in_scoring => is this user included in score reports? |
571 | # include_in_scoring => is this user included in score reports? |
| 567 | |
572 | |
| 568 | %statuses = ( |
573 | %statuses = ( |
| 569 | Enrolled => { |
574 | Enrolled => { |
| 570 | abbrevs => [qw/ C c current enrolled /], |
575 | abbrevs => [qw/ C c current enrolled /], |
| 571 | behaviors => [qw/ allow_course_access include_in_assignment include_in_stats include_in_scoring /], |
576 | behaviors => [qw/ allow_course_access include_in_assignment include_in_stats |
|
|
577 | include_in_email include_in_scoring /], |
| 572 | }, |
578 | }, |
| 573 | Audit => { |
579 | Audit => { |
| 574 | abbrevs => [qw/ A a audit /], |
580 | abbrevs => [qw/ A a audit /], |
| 575 | behaviors => [qw/ allow_course_access include_in_assignment include_in_stats /], |
581 | behaviors => [qw/ allow_course_access include_in_assignment include_in_stats |
|
|
582 | include_in_email /], |
| 576 | }, |
583 | }, |
| 577 | Drop => { |
584 | Drop => { |
| 578 | abbrevs => [qw/ D d drop withdraw /], |
585 | abbrevs => [qw/ D d drop withdraw /], |
| 579 | behaviors => [qw/ /], |
586 | behaviors => [qw/ /], |
| 580 | }, |
587 | }, |
| 581 | ); |
588 | ); |
| 582 | |
|
|
| 583 | # This is the default status given to new students and students with invalid |
|
|
| 584 | # or missing statuses. |
|
|
| 585 | $default_status = "Enrolled"; |
|
|
| 586 | |
589 | |
| 587 | ################################################################################ |
590 | ################################################################################ |
| 588 | # Session options |
591 | # Session options |
| 589 | ################################################################################ |
592 | ################################################################################ |
| 590 | |
593 | |