summarylogtreecommitdiffstats
path: root/usbmaker.pkexec.policy
diff options
context:
space:
mode:
authorgmes782017-07-22 21:34:19 +0100
committergmes782017-07-22 21:34:19 +0100
commit7d6ffc888bd1f0b458857742f210f1e084247d76 (patch)
tree35a266d4792b577f4213e32791e8c43d34b411f5 /usbmaker.pkexec.policy
downloadaur-usbmaker.tar.gz
Initial commit
Diffstat (limited to 'usbmaker.pkexec.policy')
-rw-r--r--usbmaker.pkexec.policy20
1 files changed, 20 insertions, 0 deletions
diff --git a/usbmaker.pkexec.policy b/usbmaker.pkexec.policy
new file mode 100644
index 00000000000..8e3537ad199
--- /dev/null
+++ b/usbmaker.pkexec.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="usbmaker.pkexec">
+ <message>Authentication is required to run USBMaker</message>
+ <icon_name>usbmaker</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/usbmaker</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig>
+