Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle cases when auth groups are unset #353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 19, 2024

  1. Handle cases when auth groups are unset

    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`. If the connection is local,
    no group is set and we are missing authentication field, use
    `requesting-user-name`.
    
    This allows smooth printing to the printer application via CUPS when
    printer application uses PAM module to protect against simple attacks.
    zdohnal committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    2275160 View commit details
    Browse the repository at this point in the history