summaryrefslogtreecommitdiff
path: root/data/org.freedesktop.ModemManager1.policy.in.in
blob: 301b6e940148baf2db8c1a95d3e224b9e13a4ffe (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
86
87
88
89
90
91
92
93
<?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>ModemManager</vendor>
  <vendor_url>http://www.freedesktop.org/wiki/ModemManager</vendor_url>
  <icon_name>ModemManager</icon_name>

  <action id="org.freedesktop.ModemManager1.Control">
    <description>Control the Modem Manager daemon</description>
    <message>System policy prevents controlling the Modem Manager.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.Device.Control">
    <description>Unlock and control a mobile broadband device</description>
    <message>System policy prevents unlocking or controlling the mobile broadband device.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.Contacts">
    <description>Add, modify, and delete mobile broadband contacts</description>
    <message>System policy prevents adding, modifying, or deleting this device's contacts.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.Messaging">
    <description>Send, save, modify, and delete text messages</description>
    <message>System policy prevents sending or manipulating this device's text messages.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.Voice">
    <description>Accept incoming voice calls or start outgoing voice calls.</description>
    <message>System policy prevents voice calls.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.Time">
    <description>Query network time and timezone information</description>
    <message>System policy prevents querying network time information.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.Location">
    <description>Enable and view geographic location and positioning information</description>
    <message>System policy prevents enabling or viewing geographic location information.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.USSD">
    <description>Query and utilize network information and services</description>
    <message>System policy prevents querying or utilizing network information and services.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager1.Firmware">
    <description>Query and manage firmware on a mobile broadband device</description>
    <message>System policy prevents querying or managing this device's firmware.</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

</policyconfig>