diff options
Diffstat (limited to 'extras/org.freedesktop.policykit.pkexec.adminpanel.policy')
-rw-r--r-- | extras/org.freedesktop.policykit.pkexec.adminpanel.policy | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/extras/org.freedesktop.policykit.pkexec.adminpanel.policy b/extras/org.freedesktop.policykit.pkexec.adminpanel.policy new file mode 100644 index 00000000..b110dba6 --- /dev/null +++ b/extras/org.freedesktop.policykit.pkexec.adminpanel.policy @@ -0,0 +1,22 @@ +<?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>APanel PolicyKit Configuration</vendor> + <vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url> + + <action id="org.freedesktop.policykit.pkexec.run-apanel"> + <description>Allow APanel GUI</description> + <message>Authentication is required to run the program apanel (user=$(user), program=$(program), command_line=$(command_line))</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/bin/apanel.pl</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate> + </action> + +</policyconfig> |