Currently, pappl based applications require authentication every time for any request if authentication module is set, even if authentication group(s) is set to None.
With this PR, admin can set admin and print group to None. Every admin action is allowed if admin group is None. For printing jobs, Validate-Job, Print-Job, Create-Job are allowed, Send-Document if the requesting client is owner of the job - value of requesting-user-name is used as default value, in case authorization field does not contain it.
This allows smooth printing to the printer application via CUPS when printer application uses PAM module to protect against simple attacks.
Currently, pappl based applications require authentication every time for any request if authentication module is set, even if authentication group(s) is set to
None
.With this PR, admin can set admin and print group to
None
. Every admin action is allowed if admin group isNone
. For printing jobs, Validate-Job, Print-Job, Create-Job are allowed, Send-Document if the requesting client is owner of the job - value ofrequesting-user-name
is used as default value, in case authorization field does not contain it.This allows smooth printing to the printer application via CUPS when printer application uses PAM module to protect against simple attacks.