refs #4550 user admin allowed in cups
gitea/printnatura/pipeline/head This commit looks good
Details
gitea/printnatura/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b0b27423f0
commit
fc81e68f52
|
@ -76,7 +76,7 @@ WebInterface Yes
|
||||||
# All administration operations require an administrator to authenticate...
|
# 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>
|
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
|
||||||
#AuthType Default
|
#AuthType Default
|
||||||
Require user @SYSTEM
|
Require user @SYSTEM admin
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Allow all
|
Allow all
|
||||||
</Limit>
|
</Limit>
|
||||||
|
@ -84,13 +84,13 @@ WebInterface Yes
|
||||||
# All printer operations require a printer operator to authenticate...
|
# 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>
|
<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
|
#AuthType Default
|
||||||
Require user @SYSTEM
|
Require user @SYSTEM admin
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
</Limit>
|
</Limit>
|
||||||
|
|
||||||
# Only the owner or an administrator can cancel or authenticate a job...
|
# Only the owner or an administrator can cancel or authenticate a job...
|
||||||
<Limit Cancel-Job CUPS-Authenticate-Job>
|
<Limit Cancel-Job CUPS-Authenticate-Job>
|
||||||
Require user @OWNER @SYSTEM
|
Require user @OWNER @SYSTEM admin
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
</Limit>
|
</Limit>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue