summaryrefslogtreecommitdiff
path: root/org.redcorelinux.sisyphus.policy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-25 20:58:53 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-25 20:58:53 +0000
commit5412b6091f3b92d501eac4af1523f56fb4eb69d4 (patch)
treea520898519b06f4bd76a4c3a8291abff9931e6db /org.redcorelinux.sisyphus.policy
parent80946977ba4181f0fdf060b2ca26f3c73a72f8fd (diff)
adjust policykit rule for sisyphus
Diffstat (limited to 'org.redcorelinux.sisyphus.policy')
-rw-r--r--org.redcorelinux.sisyphus.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/org.redcorelinux.sisyphus.policy b/org.redcorelinux.sisyphus.policy
new file mode 100644
index 0000000..b99bd6d
--- /dev/null
+++ b/org.redcorelinux.sisyphus.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>Redcore Linux</vendor>
+ <vendor_url>http://redcorelinux.org</vendor_url>
+
+ <action id="org.redcorelinux.sisyphus.pkexec.run">
+ <description>Run Sisyphus</description>
+ <message>Authentication is required to run Sisyphus</message>
+ <icon_name>redcore-logo</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/bin/sisyphus</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>