summaryrefslogtreecommitdiffstats
path: root/plugins/wacom/org.gnome.settings-daemon.plugins.wacom.policy.in.in
blob: fe0df93429f53aad9f5a1e3318b787a21e00b111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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>