X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=b8e90f1938783eff5952acaf8f7efbde175cd2f5;hb=9bdb98c59451ed090f8d35d470a54710f389ce71;hp=970adbeff2157af75e0518af1762e8659cf0de3f;hpb=b14eda963c698aa89fac1d91501d572ec644cc2f;p=elogind.git
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index 970adbeff..b8e90f193 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -20,17 +20,40 @@
<_description>Allow applications to inhibit system shutdown
<_message>Authentication is required to allow an application to inhibit system shutdown.
- auth_admin_keep
+ no
+ 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
+
+
+
+ <_description>Allow applications to delay system shutdown
+ <_message>Authentication is required to allow an application to delay system shutdown.
+
+ yes
yes
yes
+ org.freedesktop.login1.inhibit-delay-sleep
<_description>Allow applications to inhibit system sleep
<_message>Authentication is required to allow an application to inhibit system sleep.
- auth_admin_keep
+ no
+ yes
+ yes
+
+ org.freedesktop.login1.inhibit-delay-sleep org.freedesktop.login1.inhibit-block-idle
+
+
+
+ <_description>Allow applications to delay system sleep
+ <_message>Authentication is required to allow an application to delay system sleep.
+
+ yes
yes
yes
@@ -46,31 +69,43 @@
-
- <_description>Allow applications to delay system shutdown
- <_message>Authentication is required to allow an application to delay system shutdown.
+
+ <_description>Allow applications to inhibit system handling of the power key
+ <_message>Authentication is required to allow an application to inhibit system handling of the power key.
- yes
+ no
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 delay system sleep
- <_message>Authentication is required to allow an application to delay system sleep.
+
+ <_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.
- yes
+ no
yes
yes
+ org.freedesktop.login1.inhibit-handle-hibernate-key org.freedesktop.login1.inhibit-handle-lid-switch
-
- <_description>Allow applications to delay automatic system suspend
- <_message>Authentication is required to allow an application to delay automatic system suspend.
+
+ <_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.
- yes
+ no
+ yes
+ yes
+
+
+
+
+ <_description>Allow applications to inhibit system handling of the lid switch
+ <_message>Authentication is required to allow an application to inhibit system handling of the lid switch.
+
+ no
yes
yes
@@ -94,6 +129,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.flush-devices
@@ -122,8 +158,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.power-off
@@ -134,6 +171,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.power-off
@@ -152,8 +190,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.reboot
@@ -164,6 +203,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.reboot
@@ -184,6 +224,7 @@
auth_admin_keep
yes
+ org.freedesktop.login1.suspend
@@ -194,6 +235,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.suspend
@@ -212,8 +254,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.hibernate
@@ -224,6 +267,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.hibernate