Remove unnecessary dbus policy rules in the session 96/211496/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 6 Aug 2019 02:35:54 +0000 (11:35 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 6 Aug 2019 02:35:54 +0000 (11:35 +0900)
Change-Id: I066c8a6f940757bb9e123c3f61415552404fdf84
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
CMakeLists.txt
ma-server.conf [deleted file]
packaging/multi-assistant.spec

index 1f2f4f75e5369a9b273c284eb671cc20b6fe57b8..eb2c5d832fd98e237d1f16d65df18bb09a11873f 100644 (file)
@@ -71,6 +71,4 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/ma-config.xml DESTINATION ${TZ_SYS_RO_SHARE}/m
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.multiassistant.maserver.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/services)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.multiassistant.mauiclient.service DESTINATION ${TZ_SYS_RO_SHARE}/dbus-1/services)
 
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/ma-server.conf DESTINATION /etc/dbus-1/session.d)
-
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/multi-assistant.info DESTINATION ${TZ_SYS_RO_SHARE}/parser-plugins)
diff --git a/ma-server.conf b/ma-server.conf
deleted file mode 100644 (file)
index d24d43c..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-
-<!-- root can own the service -->
-  <policy context="default">
-    <allow own_prefix="org.tizen.multiassistant.maclient"/>
-    <allow send_destination="org.tizen.multiassistant.maclient"/>
-
-    <allow own_prefix="org.tizen.multiassistant.mauiclient"/>
-    <allow send_destination="org.tizen.multiassistant.mauiclient"/>
-
-    <allow own="org.tizen.multiassistant.maserver"/>
-    <allow send_destination="org.tizen.multiassistant.maserver"/>
-  </policy>
-</busconfig>
index 77abe5f117a43bb558c50dcfcdaf9d581ca46c83..7d78c8cf5ed22563de520435a08cc374a602fefd 100644 (file)
@@ -117,7 +117,6 @@ mkdir -p %{_libdir}/multiassistant/ma
 %{TZ_SYS_RO_SHARE}/dbus-1/services/org.tizen.multiassistant*
 %{TZ_SYS_RO_SHARE}/parser-plugins/multi-assistant.info
 %{TZ_SYS_RO_ETC}/package-manager/parserlib/metadata/libma_assistant_parser.so*
-/etc/dbus-1/session.d/ma-server.conf
 
 %files devel
 %manifest %{name}-devel.manifest