aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-08-30 13:37:10 -0500
committerTed Gould <ted@gould.cx>2013-08-30 13:37:10 -0500
commit2725d59b1c9bb81379014c95b0b64f3a2dae5f04 (patch)
tree912766d1d5f17713d38208741f25174a276140be /data
parente2166ae7ab113c0989cccb52ac23847ffc8e8ffa (diff)
parent9ecfe061ca5446d46f9b8a820c9ea6569ba0e64c (diff)
downloadayatana-greeter-session-broadcast-2725d59b1c9bb81379014c95b0b64f3a2dae5f04.tar.gz
ayatana-greeter-session-broadcast-2725d59b1c9bb81379014c95b0b64f3a2dae5f04.tar.bz2
ayatana-greeter-session-broadcast-2725d59b1c9bb81379014c95b0b64f3a2dae5f04.zip
Update to trunk
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt10
-rw-r--r--data/com.canonical.Unity.Greeter.Broadcast.conf21
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>