Initial checkin
[pwnitter] / pwnitter-dbus.conf
diff --git a/pwnitter-dbus.conf b/pwnitter-dbus.conf
new file mode 100644 (file)
index 0000000..755e2d0
--- /dev/null
@@ -0,0 +1,33 @@
+<?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">
+
+<!--
+This file is part of Pwnitter.
+
+Pwnitter is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of the
+License, or (at your option) any later version.
+
+Pwnitter is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
+Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with Pwnitter; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+USA.
+-->
+<busconfig>
+  <policy user="root">
+    <allow              own="de.cryptobitch.muelli.Pwnitter" />
+    <allow send_destination="de.cryptobitch.muelli.Pwnitter" />
+    <allow   receive_sender="de.cryptobitch.muelli.Pwnitter" />
+  </policy>
+  <policy context="default">
+    <allow send_destination="de.cryptobitch.muelli.Pwnitter" />
+    <allow   receive_sender="de.cryptobitch.muelli.Pwnitter" />
+  </policy>
+</busconfig>