X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=b8e90f1938783eff5952acaf8f7efbde175cd2f5;hb=d5099efc47d4e6ac60816b5381a5f607ab03f06e;hp=8d991e40fbd214f1a543b597b05c6280f2a1de23;hpb=beaafb2ea6be591882aef21fe19b88e3b2461087;p=elogind.git
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index 8d991e40f..b8e90f193 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -24,6 +24,7 @@
yes
yes
+ org.freedesktop.login1.inhibit-delay-shutdown org.freedesktop.login1.inhibit-block-sleep org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle
@@ -34,6 +35,7 @@
yes
yes
+ org.freedesktop.login1.inhibit-delay-sleep
@@ -44,6 +46,7 @@
yes
yes
+ org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle
@@ -74,11 +77,23 @@
yes
yes
+ org.freedesktop.login1.inhibit-handle-suspend-key org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch
-
- <_description>Allow applications to inhibit system handling of the sleep key
- <_message>Authentication is required to allow an application to inhibit system handling of the sleep key.
+
+ <_description>Allow applications to inhibit system handling of the suspend key
+ <_message>Authentication is required to allow an application to inhibit system handling of the suspend key.
+
+ no
+ yes
+ yes
+
+ org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch
+
+
+
+ <_description>Allow applications to inhibit system handling of the hibernate key
+ <_message>Authentication is required to allow an application to inhibit system handling of the hibernate key.
no
yes
@@ -114,6 +129,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.flush-devices
@@ -142,8 +158,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.power-off
@@ -154,6 +171,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.power-off
@@ -172,8 +190,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.reboot
@@ -184,6 +203,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.reboot
@@ -204,6 +224,7 @@
auth_admin_keep
yes
+ org.freedesktop.login1.suspend
@@ -214,6 +235,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.suspend
@@ -232,8 +254,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.hibernate
@@ -244,6 +267,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.hibernate