Fix D-Bus policy to work with non-permissive D-Bus
authorDavid Zeuthen <davidz@redhat.com>
Mon, 11 May 2009 14:33:44 +0000 (10:33 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 11 May 2009 14:33:44 +0000 (10:33 -0400)
data/org.freedesktop.PolicyKit1.conf.in

index ad602a7..c8ef513 100644 (file)
@@ -7,4 +7,14 @@
   <policy user="root">
     <allow own="org.freedesktop.PolicyKit1"/>
   </policy>
+
+  <policy context="default">
+    <allow send_destination="org.freedesktop.PolicyKit1"/>
+  </policy>
+
+  <!-- Allow uid 0 to send messages on the org.freedesktop.PolicyKit1.AuthenticationAgent interface -->
+  <policy user="root">
+    <allow send_interface="org.freedesktop.PolicyKit1.AuthenticationAgent"/>
+  </policy>
+
 </busconfig>