Add configuration file for DBus access 22/47822/2 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.091342 accepted/tizen/tv/20150911.091358 accepted/tizen/wearable/20150911.091407 submit/tizen/20150911.004810 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 9 Sep 2015 07:19:09 +0000 (16:19 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Thu, 10 Sep 2015 02:03:32 +0000 (11:03 +0900)
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Change-Id: I42ae30e8573517939651194227b21d73086cc5e0

packaging/connman.spec
src/connman.conf [new file with mode: 0644]

index fd50b80..4315961 100755 (executable)
@@ -1,6 +1,6 @@
 Name:           connman
 Version:        1.26
-Release:        3
+Release:        4
 License:        GPL-2.0+
 Summary:        Connection Manager
 Url:            http://connman.net
diff --git a/src/connman.conf b/src/connman.conf
new file mode 100644 (file)
index 0000000..a5376df
--- /dev/null
@@ -0,0 +1,35 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+       "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+       <policy user="root">
+               <allow own="net.connman"/>
+               <allow send_destination="net.connman"/>
+       </policy>
+       <policy context="default">
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Manager" send_member="GetTechnologies" privilege="http://tizen.org/privilege/network.get" />
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Manager" send_member="GetProperties" privilege="http://tizen.org/privilege/network.get" />
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Manager" send_member="GetServices" privilege="http://tizen.org/privilege/network.get" />
+
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Service" send_member="Connect" privilege="http://tizen.org/privilege/network.set" />
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Service" send_member="Disconnect" privilege="http://tizen.org/privilege/network.set" />
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Service" send_member="SetProperty" privilege="http://tizen.org/privilege/network.profile" />
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Service" send_member="GetProperties" privilege="http://tizen.org/privilege/network.get" />
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Service" send_member="Remove" privilege="http://tizen.org/privilege/network.profile" />
+               <check send_destination="net.connman" send_path="/" send_interface="net.connman.Service" send_member="PropertyChanged" privilege="http://tizen.org/privilege/network.get" />
+
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Technology" send_member="Scan" privilege="http://tizen.org/privilege/network.set" />
+
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Manager" send_member="GetTechnologies" privilege="http://tizen.org/privilege/network.get" />
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Manager" send_member="GetProperties" privilege="http://tizen.org/privilege/network.get" />
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Manager" send_member="GetServices" privilege="http://tizen.org/privilege/network.get" />
+
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Service" send_member="Connect" privilege="http://tizen.org/privilege/network.set" />
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Service" send_member="Disconnect" privilege="http://tizen.org/privilege/network.set" />
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Service" send_member="SetProperty" privilege="http://tizen.org/privilege/network.profile" />
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Service" send_member="GetProperties" privilege="http://tizen.org/privilege/network.get" />
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Service" send_member="Remove" privilege="http://tizen.org/privilege/network.profile" />
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Service" send_member="PropertyChanged" privilege="http://tizen.org/privilege/network.get" />
+
+               <check send_destination="net.connman" send_path="/net/connman/*" send_interface="net.connman.Technology" send_member="Scan" privilege="http://tizen.org/privilege/network.set" />
+       </policy>
+</busconfig>