X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Forg.freedesktop.login1.policy.in;h=49094eeddb3d8bee629399b8d180bd8e8ee626f5;hb=8dbce34b0373923c7aa7d795024bbedb0a85c7ea;hp=57dfb2a8b63eb5473d1b027cd3090fa38ac05a13;hpb=8e7fd6ade44ce5dde0867ba748c7978ed1206865;p=elogind.git
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index 57dfb2a8b..49094eedd 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,27 +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 suspend key
- <_message>Authentication is required to allow an application 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 to allow an application 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
@@ -98,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
@@ -108,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
@@ -124,6 +129,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.flush-devices
@@ -152,8 +158,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.power-off
@@ -164,6 +171,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.power-off
@@ -182,8 +190,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.reboot
@@ -194,6 +203,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.reboot
@@ -214,6 +224,7 @@
auth_admin_keep
yes
+ org.freedesktop.login1.suspend
@@ -224,6 +235,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.suspend
@@ -242,8 +254,9 @@
auth_admin_keep
auth_admin_keep
- auth_admin_keep
+ yes
+ org.freedesktop.login1.hibernate
@@ -254,6 +267,7 @@
auth_admin_keep
auth_admin_keep
+ org.freedesktop.login1.hibernate