OLD | NEW |
1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | 1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | 2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
3 <!-- | 3 <!-- |
4 Copyright (c) 2011 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. |
5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 6 found in the LICENSE file. |
7 | 7 |
8 This file will be installed at /etc/dbus-1/system.d on Chromium OS. | 8 This file will be installed at /etc/dbus-1/system.d on Chromium OS. |
9 --> | 9 --> |
10 <busconfig> | 10 <busconfig> |
11 <policy user="chronos"> | 11 <policy user="chronos"> |
12 <allow own="org.chromium.LibCrosService"/> | 12 <allow own="org.chromium.LibCrosService"/> |
13 <allow receive_sender="org.chromium.LibCrosService"/> | 13 <allow receive_sender="org.chromium.LibCrosService"/> |
14 <allow send_destination="org.chromium.LibCrosService"/> | 14 <allow send_destination="org.chromium.LibCrosService"/> |
15 </policy> | 15 </policy> |
16 | 16 |
17 <!-- bluez makes agent method calls to Chromium. --> | 17 <!-- bluez makes agent method calls to Chromium. --> |
18 <policy user="bluetooth"> | 18 <policy user="bluetooth"> |
19 <allow send_destination="org.chromium.LibCrosService"/> | 19 <allow send_destination="org.chromium.LibCrosService"/> |
20 </policy> | 20 </policy> |
21 | 21 |
22 <!-- tlsdate needs to query proxy config. --> | 22 <!-- tlsdate needs to query proxy config. --> |
23 <policy user="proxystate"> | 23 <policy user="proxystate"> |
24 <allow send_destination="org.chromium.LibCrosService"/> | 24 <allow send_destination="org.chromium.LibCrosService"/> |
25 </policy> | 25 </policy> |
| 26 |
| 27 <!-- powerd needs to change display power states. --> |
| 28 <policy user="power"> |
| 29 <allow send_destination="org.chromium.LibCrosService"/> |
| 30 </policy> |
26 | 31 |
27 <!-- update_engine uses this service to resolve the proxy config. --> | 32 <!-- update_engine uses this service to resolve the proxy config. --> |
28 <policy user="root"> | 33 <policy user="root"> |
29 <allow send_destination="org.chromium.LibCrosService"/> | 34 <allow send_destination="org.chromium.LibCrosService"/> |
30 </policy> | 35 </policy> |
31 | |
32 <policy context="default"> | |
33 <deny send_type="method_call" | |
34 send_destination="org.chromium.LibCrosService"/> | |
35 </policy> | |
36 </busconfig> | 36 </busconfig> |
OLD | NEW |