Bug 22178 - port to PolicyKit 1.0
port to PolicyKit 1.0
Product: ConsoleKit
Classification: Unclassified
Component: Daemon
Other All
: medium normal
Assigned To: william.jon.mccann
Depends on:
  Show dependency treegraph
Reported: 2009-06-09 09:36 UTC by Matthias Clasen
Modified: 2009-07-20 14:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

patch (31.64 KB, patch)
2009-06-09 09:36 UTC, Matthias Clasen
Details | Splinter Review
also allow CanStop/CanRestart in D-BUS policy (32.39 KB, patch)
2009-07-15 03:37 UTC, Martin Pitt
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Clasen 2009-06-09 09:36:37 UTC
Created attachment 26590 [details] [review]

I'll attach the patch that we are using in Fedora.
Comment 1 Martin Pitt 2009-07-15 03:37:50 UTC
Created attachment 27723 [details] [review]
also allow CanStop/CanRestart in D-BUS policy

This patch extends the Fedora one by allowing CanStop() and CanRestart() in the D-BUS policy, to work with the "Fix D-BUS permissions" commit (http://cgit.freedesktop.org/ConsoleKit/commit/?id=e0d9cc359b3099307067107b59ec691418e280b8).
Comment 2 Ray Strode 2009-07-20 14:23:39 UTC
Thanks, committed.