[system] Repository:
ViewVC logotype

Revision 4909


Jump to revision: Previous Next
Author: glarose
Date: Tue Mar 27 20:12:14 2007 UTC (6 years, 1 month ago)
Log Message:
Second preliminary commit of changes to move set-level valid checks to
Authz.  This makes ProblemSet.pm and Problem.pm use the
$self->{invalidSet} value set by ContentGenerator.pm, and means that
regular homework assignments may now be restricted to specific IP
addresses.  This commit also corrects $userName/$effectiveUserName
errors I had in Authz->checkSet() and moves the actual IP address
checking to a separate subroutine in Authz.  Hardcopy.pm uses that
routine to filter sets to be sure it doesn't generate hardcopies for
a IP address restricted set.

Changed paths:

Path Details
Directorytrunk/webwork-modperl/lib/WeBWorK/Authz.pm modified , text changed
Directorytrunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Hardcopy.pm modified , text changed
Directorytrunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Problem.pm modified , text changed
Directorytrunk/webwork-modperl/lib/WeBWorK/ContentGenerator/ProblemSet.pm modified , text changed
Directorytrunk/webwork2/lib/WeBWorK/Authz.pm modified , text changed
Directorytrunk/webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm modified , text changed
Directorytrunk/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm modified , text changed
Directorytrunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9