Show
Ignore:
Timestamp:
04/24/03 13:53:48 (21 years ago)
Author:
jalet
Message:

Default policy for unknown users/groups is to DENY printing instead
of the previous default to ALLOW printing. This is to solve an accuracy
problem. If you set the policy to ALLOW, jobs printed by in nexistant user
(from PyKota's POV) will be charged to the next user who prints on the
same printer.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pykota

    r952 r956  
    2323# 
    2424# $Log$ 
     25# Revision 1.25  2003/04/24 11:53:48  jalet 
     26# Default policy for unknown users/groups is to DENY printing instead 
     27# of the previous default to ALLOW printing. This is to solve an accuracy 
     28# problem. If you set the policy to ALLOW, jobs printed by in nexistant user 
     29# (from PyKota's POV) will be charged to the next user who prints on the 
     30# same printer. 
     31# 
    2532# Revision 1.24  2003/04/23 22:13:56  jalet 
    2633# Preliminary support for LPRng added BUT STILL UNTESTED. 
     
    196203            # log a message in any case. 
    197204            policy = kotafilter.config.getPrinterPolicy(kotafilter.printername) 
    198             if policy in [None, "ALLOW"] : 
     205            if policy == "ALLOW" : 
    199206                action = "POLICY_ALLOW" 
    200207            else :