summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2015-09-09 07:19:09 (GMT)
committerhyunuktak <hyunuk.tak@samsung.com>2015-09-10 02:03:32 (GMT)
commit2daddf03a218f145feca626429f92803e3bab444 (patch)
tree6eec69c62eb8d6541534d9ed74e8ba556d8a1cf5
parent5ed0cd56b4136429745b26e58c65c0ca8892588c (diff)
downloadconnman-tizen_3.0.m1_mobile.zip
connman-tizen_3.0.m1_mobile.tar.gz
connman-tizen_3.0.m1_mobile.tar.bz2
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I42ae30e8573517939651194227b21d73086cc5e0
-rwxr-xr-xpackaging/connman.spec2
-rw-r--r--src/connman.conf35
2 files changed, 36 insertions, 1 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index fd50b80..4315961 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -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
index 0000000..a5376df
--- /dev/null
+++ b/src/connman.conf
@@ -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>