summaryrefslogtreecommitdiffstats
path: root/org.gnome.gnome-system-monitor.policy.in.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:01:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:01:24 +0000
commit1e2ccef73c5ca96f7884a452b65cdbbff51c43ca (patch)
tree15afec6ee566d7919e0e640816faeebc777e3911 /org.gnome.gnome-system-monitor.policy.in.in
parentInitial commit. (diff)
downloadgnome-system-monitor-1e2ccef73c5ca96f7884a452b65cdbbff51c43ca.tar.xz
gnome-system-monitor-1e2ccef73c5ca96f7884a452b65cdbbff51c43ca.zip
Adding upstream version 3.38.0.upstream/3.38.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'org.gnome.gnome-system-monitor.policy.in.in')
-rw-r--r--org.gnome.gnome-system-monitor.policy.in.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/org.gnome.gnome-system-monitor.policy.in.in b/org.gnome.gnome-system-monitor.policy.in.in
new file mode 100644
index 0000000..d36e1d5
--- /dev/null
+++ b/org.gnome.gnome-system-monitor.policy.in.in
@@ -0,0 +1,32 @@
+<?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.0/policyconfig.dtd">
+<policyconfig>
+ <vendor>The GNOME Project</vendor>
+ <vendor_url>http://www.gnome.org/</vendor_url>
+ <icon_name>org.gnome.SystemMonitor</icon_name>
+
+ <action id="org.gnome.gnome-system-monitor.kill">
+ <description>Kill process</description>
+ <message>Privileges are required to control other users’ processes</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">@pkglibexecdir@/gsm-kill</annotate>
+ </action>
+
+ <action id="org.gnome.gnome-system-monitor.renice">
+ <description>Renice process</description>
+ <message>Privileges are required to change the priority of processes</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">@pkglibexecdir@/gsm-renice</annotate>
+ </action>
+
+</policyconfig>