summarylogtreecommitdiffstats
path: root/org.archlinux.pkexec.ocztoolbox.policy
diff options
context:
space:
mode:
authorLev Lybin2015-06-17 10:00:29 +0700
committerLev Lybin2015-06-17 10:00:29 +0700
commita0cc27d9889b4787b008b46ae515ad4067ca3a9b (patch)
tree80200adc06fa78d548b72f7925cada477173bb42 /org.archlinux.pkexec.ocztoolbox.policy
parent420797cd872befdd15c9af8dad88c66ac7d68e0c (diff)
downloadaur-a0cc27d9889b4787b008b46ae515ad4067ca3a9b.tar.gz
Muflone's patch:
- some fixes for i686 and some enhancements - ask for user permissions from the application menu using PolKit
Diffstat (limited to 'org.archlinux.pkexec.ocztoolbox.policy')
-rw-r--r--org.archlinux.pkexec.ocztoolbox.policy20
1 files changed, 20 insertions, 0 deletions
diff --git a/org.archlinux.pkexec.ocztoolbox.policy b/org.archlinux.pkexec.ocztoolbox.policy
new file mode 100644
index 000000000000..adfec4865b00
--- /dev/null
+++ b/org.archlinux.pkexec.ocztoolbox.policy
@@ -0,0 +1,20 @@
+<?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.ocztoolbox">
+ <message>Authentication is required to run the OCZToolbox</message>
+ <icon_name>ocztoolbox</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/ocztoolbox</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig>
+