summaryrefslogtreecommitdiff
path: root/polkit-1/actions
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2018-11-30 09:09:33 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2018-11-30 09:19:59 +0100
commit4a18b7b9ec577f044066d1167a8267eced215d5e (patch)
treeb77f304929fd8393fcbf87ed2f5396e42c1b3c1d /polkit-1/actions
parent0527d1069a879cd9200e56a5f68f86461a019fb7 (diff)
polkit: only provide a .policy file
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'polkit-1/actions')
-rw-r--r--polkit-1/actions/com.sigexec.polkit.set-brightness.policy6
1 files changed, 3 insertions, 3 deletions
diff --git a/polkit-1/actions/com.sigexec.polkit.set-brightness.policy b/polkit-1/actions/com.sigexec.polkit.set-brightness.policy
index 352e8bf..024589c 100644
--- a/polkit-1/actions/com.sigexec.polkit.set-brightness.policy
+++ b/polkit-1/actions/com.sigexec.polkit.set-brightness.policy
@@ -10,9 +10,9 @@
<description>Set the brightness of the monitor</description>
<description xml:lang="fr">Règle la luminosité de l'écran</description>
<defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/brightness</annotate>
<annotate key="org.freedesktop.policykit.exec.argv1">set</annotate>