summaryrefslogtreecommitdiff
path: root/org.redcorelinux.sisyphus-gui.policy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-06-24 21:55:37 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-06-24 21:55:37 +0100
commitf7e54cc8a29e5fa319ce21d6ec268e210397740a (patch)
tree5078d7a5f7f2393aa3b5068d980b0d3598bff878 /org.redcorelinux.sisyphus-gui.policy
parent2faa4c83dbaca3958feb092c9776f016a0133e8f (diff)
write a proper Makefile, rearrange source code a bit
Diffstat (limited to 'org.redcorelinux.sisyphus-gui.policy')
-rw-r--r--org.redcorelinux.sisyphus-gui.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/org.redcorelinux.sisyphus-gui.policy b/org.redcorelinux.sisyphus-gui.policy
new file mode 100644
index 0000000..811c348
--- /dev/null
+++ b/org.redcorelinux.sisyphus-gui.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-gui</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>