aboutsummaryrefslogtreecommitdiffstats
path: root/org.mageia.qarepo-helper.policy
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-02-19 20:42:59 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-02-19 20:45:59 +0000
commit7b78e9f319bdeeee99ec4bc0f01b53ab5673fbd5 (patch)
tree14064243233261625b7476b875fe62025e7c1da7 /org.mageia.qarepo-helper.policy
parentb343a521ed4c460c9cfded35f2c3bc8a3b5f7aa9 (diff)
parentf92b0881239ee80063eb3813a6286a4bb8489fa7 (diff)
downloadqarepo-7b78e9f319bdeeee99ec4bc0f01b53ab5673fbd5.tar
qarepo-7b78e9f319bdeeee99ec4bc0f01b53ab5673fbd5.tar.gz
qarepo-7b78e9f319bdeeee99ec4bc0f01b53ab5673fbd5.tar.bz2
qarepo-7b78e9f319bdeeee99ec4bc0f01b53ab5673fbd5.tar.xz
qarepo-7b78e9f319bdeeee99ec4bc0f01b53ab5673fbd5.zip
Import code from private repository.
Diffstat (limited to 'org.mageia.qarepo-helper.policy')
-rw-r--r--org.mageia.qarepo-helper.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/org.mageia.qarepo-helper.policy b/org.mageia.qarepo-helper.policy
new file mode 100644
index 0000000..bc5b24d
--- /dev/null
+++ b/org.mageia.qarepo-helper.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>Mageia</vendor>
+ <vendor_url>http://www.mageia.org/</vendor_url>
+
+ <action id="org.mageia.qarepo-helper.pkexec.run">
+ <description>Run QA Repo helper script</description>
+ <message>Authentication is required to enable or disable the QA Repo local repository</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/qarepo-helper</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">false</annotate>
+ </action>
+</policyconfig>