~azzar1/snapd-glib-fork/glib-2-40

« back to all changes in this revision

Viewing changes to snapd-login-service/io.snapcraft.SnapdLoginService.conf

  • Committer: Robert Ancell
  • Date: 2016-08-30 04:23:53 UTC
  • Revision ID: git-v1:286dc90ad146fa4df2ba64e0382eaf91340ef721
Make a D-Bus service to allow non-root users to login

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE busconfig PUBLIC
 
2
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 
3
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 
4
<busconfig>
 
5
 
 
6
  <!-- Only root can own the service -->
 
7
  <policy user="root">
 
8
    <allow own="io.snapcraft.SnapdLoginService"/>
 
9
  </policy>
 
10
 
 
11
  <policy context="default">
 
12
    <allow send_destination="io.snapcraft.SnapdLoginService" send_interface="org.freedesktop.DBus.Properties"/>
 
13
    <allow send_destination="io.snapcraft.SnapdLoginService" send_interface="org.freedesktop.DBus.Introspectable"/>
 
14
    <allow send_destination="io.snapcraft.SnapdLoginService" send_interface="io.snapcraft.SnapdLoginService"/>
 
15
  </policy>
 
16
 
 
17
</busconfig>