summaryrefslogtreecommitdiff
path: root/test/bus-policy/hello.conf
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-09-19 14:50:53 +0200
committerDaniel Mack <daniel@zonque.org>2014-09-20 18:47:45 +0200
commit20725d929ff566e53d7a857d6f0ee94aa8383469 (patch)
tree59f7ebbf70dc6f9f6c97b2382cb582a8953edd7f /test/bus-policy/hello.conf
parent38349552d8d6418229fee9ee68b1f470b4ad7a52 (diff)
bus-policy: add test utility
Add some test files and routines for dbus policy checking.
Diffstat (limited to 'test/bus-policy/hello.conf')
-rw-r--r--test/bus-policy/hello.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/bus-policy/hello.conf b/test/bus-policy/hello.conf
new file mode 100644
index 0000000000..af09893de6
--- /dev/null
+++ b/test/bus-policy/hello.conf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<busconfig>
+
+ <policy context="default">
+ <allow user="*"/>
+
+ <deny user="1"/>
+ <deny group="1"/>
+ </policy>
+
+</busconfig>