summarylogtreecommitdiffstats
path: root/ucloner.gui.policy
diff options
context:
space:
mode:
Diffstat (limited to 'ucloner.gui.policy')
-rw-r--r--ucloner.gui.policy20
1 files changed, 20 insertions, 0 deletions
diff --git a/ucloner.gui.policy b/ucloner.gui.policy
new file mode 100644
index 000000000000..c2bf8d4a3712
--- /dev/null
+++ b/ucloner.gui.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.freedesktop.policykit.pkexec.run-gparted">
+ <description>Run UCloner</description>
+ <description xml:lang="zh_CN">运行UCloner</description>
+ <message>Authentication is required to run UCloner</message>
+ <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/bin/ucloner</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
+ </action>
+
+</policyconfig> \ No newline at end of file