summarylogtreecommitdiffstats
path: root/usbmaker.pkexec.policy
diff options
context:
space:
mode:
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 000000000000..8e3537ad199d
--- /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>
+