diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.consolekit.policy | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/data/org.freedesktop.consolekit.policy b/data/org.freedesktop.consolekit.policy index a709b39..76a6cc8 100644 --- a/data/org.freedesktop.consolekit.policy +++ b/data/org.freedesktop.consolekit.policy @@ -45,4 +45,39 @@ Policy definitions for ConsoleKit </defaults> </action> + <action id="org.freedesktop.consolekit.system.suspend"> + <description>Suspend the system</description> + <message>System policy prevents suspending the system</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.consolekit.system.suspend-multiple-users"> + <description>Suspend the system when multiple users are logged in</description> + <message>System policy prevents suspending the system when other users are logged in</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.consolekit.system.hibernate"> + <description>Hibernate the system</description> + <message>System policy prevents hibernating the system</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>yes</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.consolekit.system.hibernate-multiple-users"> + <description>Hibernate the system when multiple users are logged in</description> + <message>System policy prevents hibernating the system when other users are logged in</message> + <defaults> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> </policyconfig> |