summaryrefslogtreecommitdiffstats
path: root/examples/org.qt.policykit.examples.policy.in
blob: ddab0a9f230364cd16fa66fb07777bc7f1f738fc (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
75
76
77
78
79
80
81
82
83
84
85
<?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>KDE</vendor>
  <vendor_url>http://www.kde.org</vendor_url>
  <action id="org.qt.policykit.examples.kick">
    <description>Kick</description>
    <message>Prevents PolicyKit-Qt example from kicking</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>no</allow_active>
    </defaults>
  </action>
  <action id="org.qt.policykit.examples.cry">
    <description>Cry</description>
    <message>Prevents PolicyKit-Qt example from crying</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>
  <action id="org.qt.policykit.examples.play">
    <description>Play</description>
    <message>Prevents PolicyKit-Qt example from playing</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self</allow_active>
    </defaults>
  </action>
  <action id="org.qt.policykit.examples.bleed">
    <description>Bleed</description>
    <message>Prevents PolicyKit-Qt example from bleeding</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>
  <action id="org.qt.policykit.examples.listen">
    <description>Listen</description>
    <message>Prevents PolicyKit-Qt example from listening</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self_keep</allow_active>
    </defaults>
  </action>
  <action id="org.qt.policykit.examples.delete">
    <description>Delete</description>
    <message>Prevents PolicyKit-Qt example from deleting</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>
<!--
  <action id="org.qt.policykit.examples.shout">
    <description>Shout</description>
    <message>Prevents PolicyKit-Qt example from shouting</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
    <annotate key="org.qt.policykit.examples.shout">foo</annotate>
  </action>
  <action id="org.qt.policykit.examples.push">
    <description>Push</description>
    <message>Prevents PolicyKit-Qt example from pushing</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
    <annotate key="org.qt.policykit.examples.push">bar</annotate>
  </action>
  <action id="org.qt.policykit.examples.blow-up">
    <description>Blow Up</description>
    <message>Prevents PolicyKit-Qt example from blowing up</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
    <annotate key="org.qt.policykit.examples.blow-up">booo</annotate>
  </action>
-->
</policyconfig>