summaryrefslogtreecommitdiff
path: root/src/org.opensuse.cupspkhelper.mechanism.policy.in
blob: 173a8db54099040d34ea5de7a417487c087f335b (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?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 openSUSE Project</vendor>
  <vendor_url>http://www.opensuse.org/</vendor_url>
  <icon_name>printer</icon_name>

  <action id="org.opensuse.cupspkhelper.mechanism.printer-set-default">
    <_description>Set a printer as default printer</_description>
    <_message>Privileges are required to set a printer, or a class, as default printer.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.opensuse.cupspkhelper.mechanism.printer-enable">
    <_description>Enable/Disable a printer</_description>
    <_message>Privileges are required to enable/disable a printer, or a class.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.opensuse.cupspkhelper.mechanism.printer-local-edit">
    <_description>Add/Remove/Edit a local printer</_description>
    <_message>Privileges are required to add/remove/edit a local printer.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.opensuse.cupspkhelper.mechanism.printer-remote-edit">
    <_description>Add/Remove/Edit a remote printer</_description>
    <_message>Privileges are required to add/remove/edit a remote printer.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.opensuse.cupspkhelper.mechanism.class-edit">
    <_description>Add/Remove/Edit a class</_description>
    <_message>Privileges are required to add/remove/edit a class.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.opensuse.cupspkhelper.mechanism.server-settings">
    <_description>Get/Set server settings</_description>
    <_message>Privileges are required to get/set server settings.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <!-- Deprecated -->
  <action id="org.opensuse.cupspkhelper.mechanism.printeraddremove">
    <_description>Add/Remove/Edit a printer</_description>
    <_message>Privileges are required to add/remove/edit a printer.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>
</policyconfig>