diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-04-09 22:42:49 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-04-09 22:42:49 +0000 |
commit | 839a51c83c61febe8d4c9ba56f6a05fce3d03710 (patch) | |
tree | f4a78140580870e06a5d95257d979990e12155ab /conf | |
parent | 50fe720154d2af59cdeeaecf05cc868530e16248 (diff) |
Merge changes from CUPS 1.4svn-r7394.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@702 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cupsd.conf.in | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/conf/cupsd.conf.in b/conf/cupsd.conf.in index 787c3a07a..40917e9b3 100644 --- a/conf/cupsd.conf.in +++ b/conf/cupsd.conf.in @@ -77,6 +77,45 @@ DefaultAuthType Basic </Limit> </Policy> +# Set the authenticated printer/job policies... +<Policy authenticated> + # Job-related operations must be done by the owner or an administrator... + <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> + Require user @OWNER @SYSTEM + Order deny,allow + AuthType Default + Satisfy any + </Limit> + + # All administration operations require an administrator to authenticate... + <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> + AuthType Default + Require user @SYSTEM + Order deny,allow + </Limit> + + # All printer operations require a printer operator to authenticate... + <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> + AuthType Default + Require user @CUPS_DEFAULT_PRINTADMIN_AUTH@ + Order deny,allow + </Limit> + + # Only the owner or an administrator can cancel or authenticate a job... + <Limit Cancel-Job CUPS-Authenticate-Job> + Require user @OWNER @CUPS_DEFAULT_PRINTADMIN_AUTH@ + Order deny,allow + AuthType Default + Satisfy any + </Limit> + + <Limit All> + Order deny,allow + AuthType Default + Satisfy any + </Limit> +</Policy> + # # End of "$Id: cupsd.conf.in 6720 2007-07-25 00:40:03Z mike $". # |