X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=23326bb79feedf56adae5099e835c86665f92576;hp=8d991e40fbd214f1a543b597b05c6280f2a1de23;hb=7b3edf97dca4aab8fc34209633c41a9d363b2a71;hpb=beaafb2ea6be591882aef21fe19b88e3b2461087
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index 8d991e40f..23326bb79 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -18,37 +18,40 @@
<_description>Allow applications to inhibit system shutdown
- <_message>Authentication is required to allow an application to inhibit system shutdown.
+ <_message>Authentication is required for an application to inhibit system shutdown.
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.
+ <_message>Authentication is required for 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.
+ <_message>Authentication is required for 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.
+ <_message>Authentication is required for an application to delay system sleep.
yes
yes
@@ -58,7 +61,7 @@
<_description>Allow applications to inhibit automatic system suspend
- <_message>Authentication is required to allow an application to inhibit automatic system suspend.
+ <_message>Authentication is required for an application to inhibit automatic system suspend.
yes
yes
@@ -68,17 +71,29 @@
<_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.
+ <_message>Authentication is required for 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 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 for 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 for an application to inhibit system handling of the hibernate key.
no
yes
@@ -88,7 +103,7 @@
<_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.
+ <_message>Authentication is required for an application to inhibit system handling of the lid switch.
no
yes
@@ -98,7 +113,7 @@
<_description>Allow non-logged-in users to run programs
- <_message>Authentication is required to allow a non-logged-in user to run programs.
+ <_message>Authentication is required to run programs as a non-logged-in user.
auth_admin_keep
auth_admin_keep
@@ -114,6 +129,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.flush-devices
@@ -134,6 +150,7 @@
auth_admin_keep
yes
+ org.freedesktop.login1.set-wall-message
@@ -142,8 +159,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.power-off
@@ -154,6 +172,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.power-off
@@ -164,6 +183,7 @@
auth_admin_keep
yes
+ org.freedesktop.login1.set-wall-message
@@ -172,8 +192,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.reboot
@@ -184,6 +205,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.reboot
@@ -204,6 +226,7 @@
auth_admin_keep
yes
+ org.freedesktop.login1.suspend
@@ -214,6 +237,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.suspend
@@ -232,8 +256,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.hibernate
@@ -244,6 +269,47 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.hibernate
+
+
+
+ <_description>Manage active sessions, users and seats
+ <_message>Authentication is required for managing active sessions, users and seats.
+
+ auth_admin_keep
+ auth_admin_keep
+ auth_admin_keep
+
+
+
+
+ <_description>Lock or unlock active sessions
+ <_message>Authentication is required to lock or unlock active sessions.
+
+ auth_admin_keep
+ auth_admin_keep
+ auth_admin_keep
+
+
+
+
+ <_description>Allow indication to the firmware to boot to setup interface
+ <_message>Authentication is required to indicate to the firmware to boot to setup interface.
+
+ auth_admin_keep
+ auth_admin_keep
+ auth_admin_keep
+
+
+
+
+ <_description>Set a wall message
+ <_message>Authentication is required to set a wall message
+
+ auth_admin_keep
+ auth_admin_keep
+ auth_admin_keep
+