summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-03-09 13:51:21 -0500
committerWilliam Jon McCann <mccann@jhu.edu>2007-03-09 13:51:21 -0500
commit50ff6eda31c06cea4e3b8010d114e66cfdb3f6e6 (patch)
tree3f8ca70b403d5e145b9d0f8ab5224cac85eb0390
parent093539956ac0a5092a5fdc39f8b27475071032c4 (diff)
give root permission to use the property interface
-rw-r--r--data/ConsoleKit.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/ConsoleKit.conf b/data/ConsoleKit.conf
index d40d887..7451e61 100644
--- a/data/ConsoleKit.conf
+++ b/data/ConsoleKit.conf
@@ -17,10 +17,12 @@
send_member="Lock"/>
<allow send_interface="org.freedesktop.ConsoleKit.Session"
send_member="Unlock"/>
+ <allow send_destination="org.freedesktop.ConsoleKit"
+ send_interface="org.freedesktop.DBus.Properties" />
</policy>
<!-- Allow anyone to invoke methods on the interfaces -->
- <policy context="mandatory">
+ <policy context="default">
<allow send_interface="org.freedesktop.ConsoleKit.Manager"/>
<allow send_interface="org.freedesktop.ConsoleKit.Seat"/>
<allow send_interface="org.freedesktop.ConsoleKit.Session"/>
@@ -46,6 +48,8 @@
send_member="Lock"/>
<allow send_interface="org.freedesktop.ConsoleKit.Session"
send_member="Unlock"/>
+ <allow send_destination="org.freedesktop.ConsoleKit"
+ send_interface="org.freedesktop.DBus.Properties" />
</policy>
</busconfig>