Remove unnecessary dbus policy rules 74/190074/2 accepted/tizen/unified/20181002.093336 submit/tizen/20181001.164842
authorHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Sep 2018 04:59:23 +0000 (13:59 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Sep 2018 05:00:15 +0000 (14:00 +0900)
For the dbus session bus,
default allow rule is applied, and only a certain uid is allowed to use.
Thus, <check> rules are only required.

Change-Id: I23b90740329b9cce7c8dd1e7c53e7c3922431d96
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
packaging/calendar-service.conf.in

index a894cd3..2f3154d 100644 (file)
@@ -3,15 +3,6 @@
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
     <policy context="default">
-               <deny send_destination="@DBUS_INTERFACE@"/>
-
-               <allow send_destination="@DBUS_INTERFACE@"
-                               send_interface="org.tizen.alarm.client" send_member="alarm_expired"/>
-               <allow send_destination="@DBUS_INTERFACE@"
-                               send_interface="@DBUS_INTERFACE@" send_member="register_resource"/>
-               <allow send_destination="@DBUS_INTERFACE@"
-                               send_interface="@DBUS_INTERFACE@" send_member="unregister_resource"/>
-
                <check send_destination="@DBUS_INTERFACE@"
                                send_interface="@DBUS_INTERFACE@" send_member="check_permission_read"
                                privilege="http://tizen.org/privilege/calendar.read"/>
@@ -83,4 +74,3 @@
                                privilege="http://tizen.org/privilege/calendar.write"/>
     </policy>
 </busconfig>
-