Change the privilege requirement of AddRoute/RemoveRoute dbus method 68/243068/2
authorCheoleun Moon <chleun.moon@samsung.com>
Thu, 3 Sep 2020 02:36:52 +0000 (11:36 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Thu, 3 Sep 2020 02:38:04 +0000 (11:38 +0900)
Change-Id: I44322081108614fc1994ae662d5ae9ee92244620

resources/etc/dbus-1/system.d/net-config.conf

index 88371b6..04c3945 100755 (executable)
@@ -42,8 +42,8 @@
                <check send_destination="net.netconfig" send_interface="net.netconfig.mptcp" send_member="SetScheduler" privilege="http://tizen.org/privilege/network.set" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.mptcp" send_member="GetScheduler" privilege="http://tizen.org/privilege/network.get" />
 
                <check send_destination="net.netconfig" send_interface="net.netconfig.mptcp" send_member="SetScheduler" privilege="http://tizen.org/privilege/network.set" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.mptcp" send_member="GetScheduler" privilege="http://tizen.org/privilege/network.get" />
 
-               <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="AddRoute" privilege="http://tizen.org/privilege/network.set" />
-               <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="RemoveRoute" privilege="http://tizen.org/privilege/network.set" />
+               <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="AddRoute" privilege="http://tizen.org/privilege/network.route" />
+               <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="RemoveRoute" privilege="http://tizen.org/privilege/network.route" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="EthernetCableState" privilege="http://tizen.org/privilege/network.get" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="PreferredIpv6Address" privilege="http://tizen.org/privilege/network.get" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="CheckGetPrivilege" privilege="http://tizen.org/privilege/network.get" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="EthernetCableState" privilege="http://tizen.org/privilege/network.get" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="PreferredIpv6Address" privilege="http://tizen.org/privilege/network.get" />
                <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="CheckGetPrivilege" privilege="http://tizen.org/privilege/network.get" />