aboutsummaryrefslogtreecommitdiff
path: root/policy/org.freedesktop.modem-manager.policy.in
blob: 23f7834c0cfdc742c03b443a69c708c7fc689bd8 (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
<?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>modem-manager</icon_name>

  <action id="org.freedesktop.ModemManager.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>auth_self_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager.Device.Info">
    <_description>Request mobile broadband device identifying information</_description>
    <_message>System policy prevents requesting identifying information from the mobile broadband device.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager.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>auth_self_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager.SMS">
    <_description>Send, save, modify, and delete text messages</_description>
    <_message>System policy prevents sending or maniuplating this device's text messages.</_message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_self_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager.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>auth_self_keep</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.ModemManager.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>yes</allow_active>
    </defaults>
  </action>

</policyconfig>