summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Mikulėnas <grawity@gmail.com>2012-12-17 22:32:21 +0200
committerLennart Poettering <lennart@poettering.net>2012-12-18 17:45:20 +0100
commitb6262e80b9c2f90dd55f06462cf221a069f680ca (patch)
treeae12e6b22481c839e45f57aa68dbd52bdf945a74
parent8520cfa5845274f4c0312a6c3f3313195e8a5119 (diff)
logind: allow HybridSleep methods in default DBus context
-rw-r--r--src/login/org.freedesktop.login1.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/login/org.freedesktop.login1.conf b/src/login/org.freedesktop.login1.conf
index 5860fd9226..6c1f2f57e5 100644
--- a/src/login/org.freedesktop.login1.conf
+++ b/src/login/org.freedesktop.login1.conf
@@ -102,6 +102,10 @@
<allow send_destination="org.freedesktop.login1"
send_interface="org.freedesktop.login1.Manager"
+ send_member="HybridSleep"/>
+
+ <allow send_destination="org.freedesktop.login1"
+ send_interface="org.freedesktop.login1.Manager"
send_member="CanPowerOff"/>
<allow send_destination="org.freedesktop.login1"
@@ -118,6 +122,10 @@
<allow send_destination="org.freedesktop.login1"
send_interface="org.freedesktop.login1.Manager"
+ send_member="CanHybridSleep"/>
+
+ <allow send_destination="org.freedesktop.login1"
+ send_interface="org.freedesktop.login1.Manager"
send_member="AttachDevice"/>
<allow send_destination="org.freedesktop.login1"