summaryrefslogtreecommitdiff
path: root/extra/gparted/org.archlinux.pkexec.gparted.policy
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-09 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-10-09 23:14:34 +0000
commit8e372cc6207b56516c1facdaeb92d15c4716d8a2 (patch)
tree5958b5f5b22ce68cbfd3c1a1007544403b44834e /extra/gparted/org.archlinux.pkexec.gparted.policy
parent40e90a19618851856689ef8697391d37ec6841a1 (diff)
Sun Oct 9 23:14:34 UTC 2011
Diffstat (limited to 'extra/gparted/org.archlinux.pkexec.gparted.policy')
-rw-r--r--extra/gparted/org.archlinux.pkexec.gparted.policy20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/gparted/org.archlinux.pkexec.gparted.policy b/extra/gparted/org.archlinux.pkexec.gparted.policy
new file mode 100644
index 000000000..561cd7d1e
--- /dev/null
+++ b/extra/gparted/org.archlinux.pkexec.gparted.policy
@@ -0,0 +1,20 @@
+<?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>
+
+ <action id="org.archlinux.pkexec.gparted">
+ <message>Authentication is required to run the GParted Partition Editor</message>
+ <icon_name>gparted</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+
+</policyconfig>
+