diff options
Diffstat (limited to 'perl-install/standalone/polkit')
6 files changed, 132 insertions, 0 deletions
diff --git a/perl-install/standalone/polkit/org.mageia.drakdisk.policy.in b/perl-install/standalone/polkit/org.mageia.drakdisk.policy.in new file mode 100644 index 000000000..97f69f252 --- /dev/null +++ b/perl-install/standalone/polkit/org.mageia.drakdisk.policy.in @@ -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>Mageia</vendor> + <vendor_url>http://www.mageia.org/</vendor_url> + + <action id="org.mageia.drakdisk.pkexec.run"> + <_description>Run Mageia Disk Layout Editor</_description> + <_message>Authentication is required to run Mageia Disk Layout Editor</_message> + <icon_name>drakconf</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakdisk</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> diff --git a/perl-install/standalone/polkit/org.mageia.drakdm.policy.in b/perl-install/standalone/polkit/org.mageia.drakdm.policy.in new file mode 100644 index 000000000..21f464c51 --- /dev/null +++ b/perl-install/standalone/polkit/org.mageia.drakdm.policy.in @@ -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>Mageia</vendor> + <vendor_url>http://www.mageia.org/</vendor_url> + + <action id="org.mageia.drakdm.pkexec.run"> + <_description>Run Mageia Login Manager Configuration</_description> + <_message>Authentication is required to run Mageia Login Manager Configuration</_message> + <icon_name>drakconf</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakdm</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> diff --git a/perl-install/standalone/polkit/org.mageia.drakhardware.policy.in b/perl-install/standalone/polkit/org.mageia.drakhardware.policy.in new file mode 100644 index 000000000..778c96639 --- /dev/null +++ b/perl-install/standalone/polkit/org.mageia.drakhardware.policy.in @@ -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>Mageia</vendor> + <vendor_url>http://www.mageia.org/</vendor_url> + + <action id="org.mageia.drakhardware.pkexec.run"> + <_description>Run Mageia Hardware Configuration</_description> + <_message>Authentication is required to run Mageia Hardware Configuration</_message> + <icon_name>drakconf</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakhardware</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> diff --git a/perl-install/standalone/polkit/org.mageia.drakperm.policy.in b/perl-install/standalone/polkit/org.mageia.drakperm.policy.in new file mode 100644 index 000000000..87940968a --- /dev/null +++ b/perl-install/standalone/polkit/org.mageia.drakperm.policy.in @@ -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>Mageia</vendor> + <vendor_url>http://www.mageia.org/</vendor_url> + + <action id="org.mageia.drakperm.pkexec.run"> + <_description>Run Mageia Security Permissions Configuration</_description> + <_message>Authentication is required to run Mageia Security Permissions Configuration</_message> + <icon_name>drakconf</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakperm</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> diff --git a/perl-install/standalone/polkit/org.mageia.drakscanner.policy.in b/perl-install/standalone/polkit/org.mageia.drakscanner.policy.in new file mode 100644 index 000000000..50c1da552 --- /dev/null +++ b/perl-install/standalone/polkit/org.mageia.drakscanner.policy.in @@ -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>Mageia</vendor> + <vendor_url>http://www.mageia.org/</vendor_url> + + <action id="org.mageia.drakscanner.pkexec.run"> + <_description>Run Mageia Scanner Configuration</_description> + <_message>Authentication is required to run Mageia Scanner Configuration</_message> + <icon_name>drakconf</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakscanner</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> diff --git a/perl-install/standalone/polkit/org.mageia.draksec.policy.in b/perl-install/standalone/polkit/org.mageia.draksec.policy.in new file mode 100644 index 000000000..fcec510fe --- /dev/null +++ b/perl-install/standalone/polkit/org.mageia.draksec.policy.in @@ -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>Mageia</vendor> + <vendor_url>http://www.mageia.org/</vendor_url> + + <action id="org.mageia.draksec.pkexec.run"> + <_description>Run Mageia Application Security Configuration</_description> + <_message>Authentication is required to run Mageia Application Security Configuration</_message> + <icon_name>drakconf</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/draksec</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |