aboutsummaryrefslogtreecommitdiffstats
path: root/extras/polkit/org.mageia.hostmanager.policy
diff options
context:
space:
mode:
Diffstat (limited to 'extras/polkit/org.mageia.hostmanager.policy')
-rw-r--r--extras/polkit/org.mageia.hostmanager.policy21
1 files changed, 21 insertions, 0 deletions
diff --git a/extras/polkit/org.mageia.hostmanager.policy b/extras/polkit/org.mageia.hostmanager.policy
new file mode 100644
index 00000000..6e23364f
--- /dev/null
+++ b/extras/polkit/org.mageia.hostmanager.policy
@@ -0,0 +1,21 @@
+<?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>
+
+ <vendor>Mageia.Org</vendor>
+ <vendor_url>http://www.mageia.org</vendor_url>
+
+ <action id="org.mageia.hostmanager.pkexec.run">
+ <description>Allow APanel GUI</description>
+ <message>Authentication is required to run the program hostmanager (user=$(user), program=$(program), command_line=$(command_line))</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/hostmanager</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>