diff options
author | Michael Terry <michael.terry@canonical.com> | 2013-08-28 12:37:47 -0400 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2013-08-28 12:37:47 -0400 |
commit | 6d444beb4392c2116533749fa869b6a1c4c6454a (patch) | |
tree | b77a890162ce91c90bdd161a13433353e4006c75 /data | |
parent | 32a9e9c848b5a85bea267d70fc2b6f0f1c4c9468 (diff) | |
download | ayatana-greeter-session-broadcast-6d444beb4392c2116533749fa869b6a1c4c6454a.tar.gz ayatana-greeter-session-broadcast-6d444beb4392c2116533749fa869b6a1c4c6454a.tar.bz2 ayatana-greeter-session-broadcast-6d444beb4392c2116533749fa869b6a1c4c6454a.zip |
Flesh out service to actually do what it says on the tin
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 10 | ||||
-rw-r--r-- | data/com.canonical.Unity.Greeter.Broadcast.conf | 21 |
2 files changed, 31 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index b784adb..d00c9ef 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -10,6 +10,16 @@ DESTINATION ${DBUSIFACEDIR} ) ########################### +# DBus Policy Files +########################### + +install( +FILES +com.canonical.Unity.Greeter.Broadcast.conf +DESTINATION ${DBUSSYSCONFDIR}/dbus-1/system.d +) + +########################### # Dbus Services ########################### diff --git a/data/com.canonical.Unity.Greeter.Broadcast.conf b/data/com.canonical.Unity.Greeter.Broadcast.conf new file mode 100644 index 0000000..8a8cfe6 --- /dev/null +++ b/data/com.canonical.Unity.Greeter.Broadcast.conf @@ -0,0 +1,21 @@ +<!-- ../system.conf have denied everything, so we just punch some holes --> + +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + + <policy user="root"> + <allow own="com.canonical.Unity.Greeter.Broadcast"/> + <allow send_destination="com.canonical.Unity.Greeter.Broadcast"/> + </policy> + + <policy user="lightdm"> + <allow send_destination="com.canonical.Unity.Greeter.Broadcast"/> + </policy> + + <policy context="default"> + <allow send_destination="com.canonical.Unity.Greeter.Broadcast" + send_interface="org.freedesktop.DBus.Introspectable"/> + </policy> + +</busconfig> |