aboutsummaryrefslogtreecommitdiff
path: root/system/winusb/com.slackware.pkexec.winusb.policy
diff options
context:
space:
mode:
authorRuan K. F <ruan.klein@gmail.com>2015-01-13 06:59:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-13 06:59:44 +0700
commit36d6ed03552f912ad82c36dc37036766c5da93c8 (patch)
tree6aa1841553c1a5a30d11c06933c38b7c29213f65 /system/winusb/com.slackware.pkexec.winusb.policy
parent2829844cc26441ca03164164f89bbe3f9cac4db7 (diff)
system/winusb: Added (USB Stick Windows Installer Creator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/winusb/com.slackware.pkexec.winusb.policy')
-rw-r--r--system/winusb/com.slackware.pkexec.winusb.policy20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/winusb/com.slackware.pkexec.winusb.policy b/system/winusb/com.slackware.pkexec.winusb.policy
new file mode 100644
index 0000000000000..dc8f3498134cb
--- /dev/null
+++ b/system/winusb/com.slackware.pkexec.winusb.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="com.slackware.pkexec.winusb">
+ <description>Run WinUSB</description>
+ <message>Authentication is required to run WinUSB</message>
+ <icon_name>winusbgui-icon</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/winusbgui</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig>