X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=b96d32d526ecebfbca4557b9ea737b8daec6646f;hb=28b99ccdcb43937123b170509558af6296a0d271;hp=92c0a4d324f69c7c424824540d75bfc320b7ce45;hpb=9d17cf3e93414ad604669ef908e86ccec9056a07;p=elogind.git
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index 92c0a4d32..b96d32d52 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -16,24 +16,99 @@
The systemd Project
http://www.freedesktop.org/wiki/Software/systemd
-
- <_description>Allow applications to inhibit system shutdown and suspend
- <_message>Authentication is required to allow an application to inhibit system shutdown or suspend.
+
+ <_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 and suspend
- <_message>Authentication is required to allow an application to delay system shutdown or suspend.
+
+ <_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.
+
+ 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
+
+
+
+
+ <_description>Allow applications to inhibit automatic system suspend
+ <_message>Authentication is required to allow an application to inhibit automatic system suspend.
+
+ yes
+ yes
+ yes
+
+
+
+
+ <_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.
+
+ 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 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
+ 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
+
@@ -54,6 +129,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.flush-devices
@@ -82,8 +158,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.power-off
@@ -94,6 +171,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.power-off
@@ -112,8 +190,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.reboot
@@ -124,6 +203,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.reboot
@@ -144,6 +224,7 @@
auth_admin_keep
yes
+ org.freedesktop.login1.suspend
@@ -154,6 +235,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.suspend
@@ -174,6 +256,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.hibernate
@@ -184,6 +267,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.hibernate