Created attachment 51346 [details] [review]
allow inactive/any users to authenticate
When an inactive or any user wants to perform an action provided by cups-pk-helper, he is denied because cups-pk-helper policies don't allow to authenticate such users.
Steps to reproduce:
1) init 3
4) gdbus call --system --dest org.opensuse.CupsPkHelper.Mechanism --object-path / --method org.opensuse.CupsPkHelper.Mechanism.PrinterSetEnabled "Printer" true
Attached patch allows inactive/any users to authenticate.
What's the use case? I put "no" there because I couldn't think of a use case where cups-pk-helper would be used in a non-active session.
the use case here is that users using thin-clients with LTSP can not perform cups-pk-helper authenticated actions. The original report was here: https://bugzilla.redhat.com/show_bug.cgi?id=543085 (unfortunately, I forgot to report this upstream).
Thanks for the explanation. Pushed. I'll do a 0.2.1 release today or tomorrow.