summaryrefslogtreecommitdiffstats
path: root/plugins/wacom/org.gnome.settings-daemon.plugins.wacom.policy.in.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:51:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:51:51 +0000
commitb0e30ceba2288eab10c6ff7be0ac0cb05a9ed0b7 (patch)
tree9f1d8a08a8cbd19d28ec2d31027f8a7ccd90de0d /plugins/wacom/org.gnome.settings-daemon.plugins.wacom.policy.in.in
parentInitial commit. (diff)
downloadgnome-settings-daemon-2eefe53c66f7df8f0f22dd48280dac17d21f713e.tar.xz
gnome-settings-daemon-2eefe53c66f7df8f0f22dd48280dac17d21f713e.zip
Adding upstream version 43.0.upstream/43.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--plugins/wacom/org.gnome.settings-daemon.plugins.wacom.policy.in.in46
1 files changed, 46 insertions, 0 deletions
diff --git a/plugins/wacom/org.gnome.settings-daemon.plugins.wacom.policy.in.in b/plugins/wacom/org.gnome.settings-daemon.plugins.wacom.policy.in.in
new file mode 100644
index 0000000..fe0df93
--- /dev/null
+++ b/plugins/wacom/org.gnome.settings-daemon.plugins.wacom.policy.in.in
@@ -0,0 +1,46 @@
+<?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>
+
+ <!--
+ Policy definitions for gnome-settings-daemon system-wide actions.
+ -->
+
+ <vendor>GNOME Settings Daemon</vendor>
+ <vendor_url>http://git.gnome.org/browse/gnome-settings-daemon</vendor_url>
+ <icon_name>input-tablet</icon_name>
+
+ <action id="org.gnome.settings-daemon.plugins.wacom.wacom-led-helper">
+ <!-- SECURITY:
+ - A normal active user on the local machine does not need permission
+ to change the LED setting for a Wacom tablet
+ -->
+ <description>Modify the lit LED for a Wacom tablet</description>
+ <message>Authentication is required to modify the lit LED for a Wacom tablet</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">@libexecdir@/gsd-wacom-led-helper</annotate>
+ </action>
+
+ <action id="org.gnome.settings-daemon.plugins.wacom.wacom-oled-helper">
+ <!-- SECURITY:
+ - A normal active user on the local machine does not need permission
+ to change the OLED images for a Wacom tablet
+ -->
+ <description>Modify the OLED image for a Wacom tablet</description>
+ <message>Authentication is required to modify the OLED image for a Wacom tablet</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">@libexecdir@/gsd-wacom-oled-helper</annotate>
+ </action>
+
+</policyconfig>
+