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/pykota/config.py

    r952 r956  
    2121# 
    2222# $Log$ 
     23# Revision 1.23  2003/04/24 11:53:48  jalet 
     24# Default policy for unknown users/groups is to DENY printing instead 
     25# of the previous default to ALLOW printing. This is to solve an accuracy 
     26# problem. If you set the policy to ALLOW, jobs printed by in nexistant user 
     27# (from PyKota's POV) will be charged to the next user who prints on the 
     28# same printer. 
     29# 
    2330# Revision 1.22  2003/04/23 22:13:57  jalet 
    2431# Preliminary support for LPRng added BUT STILL UNTESTED. 
     
    213220            policy = self.getPrinterOption(printer, "policy").upper() 
    214221        except PyKotaConfigError :     
    215             policy = "ALLOW" 
     222            policy = "DENY" 
    216223        if policy not in validpolicies : 
    217224            raise PyKotaConfigError, _("Option policy in section %s only supports values in %s") % (printer, str(validpolicies))