summaryrefslogtreecommitdiff
path: root/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-30 00:04:43 +0000
committerroot <root@rshg054.dnsready.net>2012-08-30 00:04:43 +0000
commitdba5b0127d9f00a13c489f0f5893481cbe7d429b (patch)
tree47714a8937db14a824360836173033d11bb152f1 /community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
parent498a4346616c33beac56d48a246cf27fe3812341 (diff)
Thu Aug 30 00:04:42 UTC 2012
Diffstat (limited to 'community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy')
-rw-r--r--community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy b/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
new file mode 100644
index 000000000..fb985df87
--- /dev/null
+++ b/community/gsmartcontrol/org.archlinux.pkexec.gsmartcontrol.policy
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+ <action id="org.archlinux.pkexec.gsmartcontrol">
+ <message>Authentication is required to run the gsmartcontrol</message>
+ <icon_name>gsmartcontrol</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/gsmartcontrol</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig>