refs #4550 user admin allowed in cups
gitea/printnatura/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2022-11-17 14:00:01 +01:00
parent b0b27423f0
commit fc81e68f52
1 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ WebInterface Yes
# 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 CUPS-Get-Devices>
#AuthType Default
Require user @SYSTEM
Require user @SYSTEM admin
Order deny,allow
Allow all
</Limit>
@ -84,13 +84,13 @@ WebInterface Yes
# 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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
#AuthType Default
Require user @SYSTEM
Require user @SYSTEM admin
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 @SYSTEM
Require user @OWNER @SYSTEM admin
Order deny,allow
</Limit>