File: org.freedesktop.ModemManager.conf.polkit

package info (click to toggle)
modemmanager 0.4+git.20100624t180933.6e79d15-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,200 kB
  • ctags: 3,368
  • sloc: ansic: 27,789; xml: 1,874; makefile: 594; python: 460; sh: 16
file content (154 lines) | stat: -rw-r--r-- 6,252 bytes parent folder | download | duplicates (2)
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <policy context="default">
    <deny send_destination="org.freedesktop.ModemManager"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.DBus.Introspectable"/>

    <!-- Methods listed here are explicitly allowed or PolicyKit protected.
         The rest are restricted to root for security.
      -->

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager"
           send_member="EnumerateDevices"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.DBus.Properties"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem"
           send_member="GetInfo"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Cdma"
           send_member="GetSignalQuality"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Cdma"
           send_member="GetServingSystem"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Cdma"
           send_member="GetRegistrationState"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Cdma"
           send_member="GetEsn"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Network"
           send_member="GetSignalQuality"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Network"
           send_member="GetBand"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Network"
           send_member="GetNetworkMode"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Network"
           send_member="GetRegistrationInfo"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Network"
           send_member="Scan"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Card"
           send_member="GetImei"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Card"
           send_member="GetImsi"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Card"
           send_member="SendPuk"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Card"
           send_member="SendPin"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Card"
           send_member="EnablePin"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Card"
           send_member="ChangePin"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Contacts"
           send_member="Add"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Contacts"
           send_member="Delete"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Contacts"
           send_member="Get"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Contacts"
           send_member="List"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Contacts"
           send_member="Find"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.Contacts"
           send_member="GetCount"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="Delete"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="Get"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="List"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="Save"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="Send"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="SendFromStorage"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="SetIndication"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="GetSmsc"/>

    <allow send_destination="org.freedesktop.ModemManager"
           send_interface="org.freedesktop.ModemManager.Modem.Gsm.SMS"
           send_member="SetSmsc"/>
  </policy>

  <policy user="root">
    <allow own="org.freedesktop.ModemManager"/>
    <allow send_destination="org.freedesktop.ModemManager"/>
  </policy>

  <limit name="max_replies_per_connection">512</limit>
</busconfig>