Bug 41011 - Allow inactive/any users to authenticate
Summary: Allow inactive/any users to authenticate
Status: RESOLVED FIXED
Alias: None
Product: cups-pk-helper
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Vincent Untz
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 09:19 UTC by Marek Kasik
Modified: 2011-09-19 09:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
allow inactive/any users to authenticate (4.58 KB, patch)
2011-09-19 09:19 UTC, Marek Kasik
Details | Splinter Review

Description Marek Kasik 2011-09-19 09:19:50 UTC
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
  2) xinit
  3) gnome-session
  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.

Regards

Marek
Comment 1 Vincent Untz 2011-09-19 09:26:52 UTC
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.
Comment 2 Marek Kasik 2011-09-19 09:43:36 UTC
Hi,

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).

Marek
Comment 3 Vincent Untz 2011-09-19 09:53:49 UTC
Thanks for the explanation. Pushed. I'll do a 0.2.1 release today or tomorrow.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.