summaryrefslogtreecommitdiffstats
path: root/org.jaos.gslapt.policy
diff options
context:
space:
mode:
Diffstat (limited to 'org.jaos.gslapt.policy')
-rw-r--r--org.jaos.gslapt.policy20
1 files changed, 20 insertions, 0 deletions
diff --git a/org.jaos.gslapt.policy b/org.jaos.gslapt.policy
new file mode 100644
index 0000000..a7fc461
--- /dev/null
+++ b/org.jaos.gslapt.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.0/policyconfig.dtd">
+<policyconfig>
+ <vendor>jaos.org</vendor>
+ <vendor_url>https://software.jaos.org</vendor_url>
+ <icon_name>gslapt</icon_name>
+ <action id="org.jaos.gslapt">
+ <description>Run Gslapt as root</description>
+ <message>Authentication is required to run Gslapt</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gslapt</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>