enable-tests also enables debug
authorImran Zaman <imran.zaman@intel.com>
Mon, 4 Nov 2013 11:03:30 +0000 (13:03 +0200)
committerImran Zaman <imran.zaman@intel.com>
Mon, 4 Nov 2013 11:03:30 +0000 (13:03 +0200)
Makefile.am
src/daemon/dbus/gumd-dbus.conf.in [new file with mode: 0644]

index 8182516..b997984 100644 (file)
@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
 # --enable-distcheck is here to make it possible to use
 # also --enable-dbus-type=session here
 AM_DISTCHECK_CONFIGURE_FLAGS = \
-    --enable-debug \
     --enable-distcheck \
     --enable-tests
 
diff --git a/src/daemon/dbus/gumd-dbus.conf.in b/src/daemon/dbus/gumd-dbus.conf.in
new file mode 100644 (file)
index 0000000..8e4b8fc
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
+    "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+    <type>@MESSAGE_BUS_TYPE@</type>
+
+    <servicedir>@DBUS_SERVICES_DIR@</servicedir>
+
+    <policy user="root">
+        <allow own="org.tizen.SecurityAccounts.gUserManagement"/>
+        <allow send_destination="org.tizen.SecurityAccounts.gUserManagement"/>
+    </policy>
+    
+    <policy context="default">
+        <deny send_destination="org.tizen.SecurityAccounts.gUserManagement"/>
+    </policy>
+
+</busconfig>