summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/dbus/org.chromium.LibCrosService.conf
blob: 3c1a98c4c3e92d800aa33ec4f9f93665c4a228e0 (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
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
  Copyright (c) 2011 The Chromium Authors. All rights reserved.
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file.

  This file will be installed at /etc/dbus-1/system.d on Chromium OS.
-->
<busconfig>
  <policy user="chronos">
    <allow own="org.chromium.LibCrosService"/>
    <allow receive_sender="org.chromium.LibCrosService"/>
    <allow send_destination="org.chromium.LibCrosService"/>
  </policy>

  <!-- bluez makes agent method calls to Chromium -->
  <policy user="bluetooth">
    <allow send_destination="org.chromium.LibCrosService"/>
  </policy>

  <!-- update_engine uses this service to resolve the proxy config. -->
  <policy user="root">
    <allow send_destination="org.chromium.LibCrosService"/>
  </policy>

  <policy context="default">
    <deny send_type="method_call"
          send_destination="org.chromium.LibCrosService"/>
  </policy>
</busconfig>