[system] / trunk / webwork-modperl / conf / global.conf.dist Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/conf/global.conf.dist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2504 Revision 2505
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.88 2004/07/12 02:30:21 sh002i Exp $ 5# $CVSHeader: webwork2/conf/global.conf.dist,v 1.89 2004/07/12 16:20:41 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.
367# action (almost never what you want). 367# action (almost never what you want).
368 368
369my $student = 0; 369my $student = 0;
370my $ta = 5; 370my $ta = 5;
371my $professor = 10; 371my $professor = 10;
372my $nobody = undef;
372 373
373%permissionLevels = ( 374%permissionLevels = (
374 report_bugs => $student, 375 report_bugs => $student,
376
375 view_multiple_sets => $ta, 377 view_multiple_sets => $ta,
376 view_unopened_sets => $ta, 378 view_unopened_sets => $ta,
377 view_unpublished_sets => $ta, 379 view_unpublished_sets => $ta,
378 view_answers => $ta, 380 view_answers => $ta,
381
379 become_student => $professor, 382 become_student => $professor,
380 access_instructor_tools => $ta, 383 access_instructor_tools => $ta,
381 create_and_delete_problem_sets => $professor,
382 modify_problem_sets => $professor,
383 assign_problem_sets => $professor,
384 modify_student_data => $professor,
385 score_sets => $professor, 384 score_sets => $professor,
386 send_mail => $professor, 385 send_mail => $professor,
386
387 create_and_delete_problem_sets => $professor,
388 assign_problem_sets => $professor,
389 modify_problem_sets => $professor,
390 modify_student_data => $professor,
391
387 modify_classlist_files => $professor, 392 modify_classlist_files => $professor,
388 modify_set_def_files => $professor, 393 modify_set_def_files => $professor,
389 modify_scoring_files => $professor, 394 modify_scoring_files => $professor,
390 modify_problem_template_files => $professor, 395 modify_problem_template_files => $professor,
396
391 create_and_delete_courses => $professor, 397 create_and_delete_courses => $professor,
392 fix_course_databases => $professor, 398 fix_course_databases => $professor,
399
400 ##### Behavior of the interactive problem processor #####
401
402 show_correct_answers_before_answer_date => $ta,
403 show_solutions_before_answer_date => $ta,
404 avoid_recording_answers => $ta,
405
406 check_answers_before_open_date => $ta,
407 check_answers_after_open_date_with_attempts => $ta,
408 check_answers_after_open_date_without_attempts => $student,
409 check_answers_after_due_date => $student,
410 check_answers_after_answer_date => $student,
411
412 record_answers_when_acting_as_student => $nobody,
413
414 # "record_answers_when_acting_as_student" takes precedence
415 # over the following for professors acting as students:
416 record_answers_before_open_date => $nobody,
417 record_answers_after_open_date_with_attempts => $student,
418 record_answers_after_open_date_without_attempts => $nobody,
419 record_answers_after_due_date => $nobody,
420 record_answers_after_answer_date => $nobody,
393); 421);
394 422
395################################################################################ 423################################################################################
396# Session options 424# Session options
397################################################################################ 425################################################################################

Legend:
Removed from v.2504  
changed lines
  Added in v.2505

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9