Bug 22178 - port to PolicyKit 1.0
Summary: port to PolicyKit 1.0
Status: RESOLVED FIXED
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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:


Attachments
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

Description Matthias Clasen 2009-06-09 09:36:37 UTC
Created attachment 26590 [details] [review]
patch

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.


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.