Add org.selinux.config.selinux.policy for use with policykit and pk_exec

This commit is contained in:
Dan Walsh 2013-10-11 09:48:34 -04:00 committed by Stephen Smalley
parent 678de8fda2
commit 0ebf819eb9

View File

@ -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>System Config SELinux</vendor>
<vendor_url>http://fedorahosted.org/system-config-selinux</vendor_url>
<action id="org.selinux.config.pkexec.run">
<description>Run System Config SELinux</description>
<message>Authentication is required to run system-config-selinux</message>
<icon_name>system-selinux</icon_name>
<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/share/system-config-selinux/system-config-selinux.py</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>