summaryrefslogtreecommitdiffstats
path: root/test/name-test/tmp-session-like-system.conf
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2008-12-09 09:15:06 -0500
committerColin Walters <walters@verbum.org>2008-12-09 10:17:36 -0500
commitd899734475f09068dfa410c91e126e1442b0325e (patch)
tree1ac7dc768f0d22dcb3770b06edeac85b1a728b64 /test/name-test/tmp-session-like-system.conf
parent5cd3e9ca3f237e1151536484fd5a8cef0adf3456 (diff)
Bug 18229: Allow signals
Our previous fix went too far towards lockdown; many things rely on signals to work, and there's no really good reason to restrict which signals can be emitted on the bus because we can't tie them to a particular sender.
Diffstat (limited to 'test/name-test/tmp-session-like-system.conf')
-rw-r--r--test/name-test/tmp-session-like-system.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/name-test/tmp-session-like-system.conf b/test/name-test/tmp-session-like-system.conf
index e483c89b..96bbf764 100644
--- a/test/name-test/tmp-session-like-system.conf
+++ b/test/name-test/tmp-session-like-system.conf
@@ -29,6 +29,8 @@
even if they aren't in here -->
<allow send_destination="org.freedesktop.DBus"/>
<allow receive_sender="org.freedesktop.DBus"/>
+ <!-- Allow all signals to be sent by default -->
+ <allow send_type="signal"/>
<!-- valid replies are always allowed -->
<allow send_requested_reply="true" send_type="method_return"/>
<allow send_requested_reply="true" send_type="error"/>
@@ -41,6 +43,11 @@
<policy context="default">
<allow own="org.freedesktop.DBus.TestSuiteEchoService"/>
+ <allow send_destination="org.freedesktop.DBus.TestSuiteEchoService"
+ send_interface="org.freedesktop.DBus.Introspectable"/>
+ <allow send_destination="org.freedesktop.DBus.TestSuiteEchoService"
+ send_interface="org.freedesktop.TestSuite"
+ send_member="EmitFoo"/>
</policy>
<!-- Config files are placed here that among other things,