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

ash / dbus / org.chromium.DisplayService.conf [blame]

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
  Copyright 2017 The Chromium Authors
  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 /opt/google/chrome/dbus on Chromium OS.
-->
<busconfig>
  <policy user="chronos">
    <allow own="org.chromium.DisplayService"/>
  </policy>

  <!-- powerd runs as power -->
  <policy user="power">
    <allow send_destination="org.chromium.DisplayService"
           send_interface="org.chromium.DisplayServiceInterface"/>
  </policy>

  <!-- frecon runs as root -->
  <policy user="root">
    <allow send_destination="org.chromium.DisplayService"
           send_interface="org.chromium.DisplayServiceInterface"/>
  </policy>
</busconfig>