Added GetBssidList dbus call for wifi-manager to get BSSID list
[platform/core/connectivity/net-config.git] / resources / etc / dbus-1 / system.d / net-config.conf
1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2         "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3 <busconfig>
4         <policy user="root">
5                 <allow own="net.netconfig"/>
6                 <allow send_destination="net.netconfig"/>
7         </policy>
8         <policy user="network_fw">
9                 <allow own="net.netconfig"/>
10                 <allow send_destination="net.netconfig"/>
11         </policy>
12         <policy context="default">
13                 <deny own="net.netconfig"/>
14                 <deny send_destination="net.netconfig"/>
15                 <allow send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="LaunchMdns" />
16                 <allow send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="UnrefMdns" />
17                 <allow send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="DevicePolicyGetWifi"" />
18                 <allow send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="DevicePolicyGetWifiProfile" />
19
20                 <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="AddRoute" privilege="http://tizen.org/privilege/network.set" />
21                 <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="RemoveRoute" privilege="http://tizen.org/privilege/network.set" />
22                 <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="EthernetCableState" privilege="http://tizen.org/privilege/network.get" />
23                 <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="CheckGetPrivilege" privilege="http://tizen.org/privilege/network.get" />
24                 <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="CheckProfilePrivilege" privilege="http://tizen.org/privilege/network.profile" />
25                 <check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="CheckInternetPrivilege" privilege="http://tizen.org/privilege/internet" />
26
27                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="GetWifiLastRxBytes" privilege="http://tizen.org/privilege/network.get" />
28                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="GetWifiLastTxBytes" privilege="http://tizen.org/privilege/network.get" />
29                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="GetWifiTotalRxBytes" privilege="http://tizen.org/privilege/network.get" />
30                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="GetWifiTotalTxBytes" privilege="http://tizen.org/privilege/network.get" />
31                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetCellularLastRxBytes" privilege="http://tizen.org/privilege/network.set" />
32                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetCellularLastTxBytes" privilege="http://tizen.org/privilege/network.set" />
33                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetCellularTotalRxBytes" privilege="http://tizen.org/privilege/network.set" />
34                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetCellularTotalTxBytes" privilege="http://tizen.org/privilege/network.set" />
35                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetWifiLastRxBytes" privilege="http://tizen.org/privilege/network.set" />
36                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetWifiLastTxBytes" privilege="http://tizen.org/privilege/network.set" />
37                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetWifiTotalRxBytes" privilege="http://tizen.org/privilege/network.set" />
38                 <check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="ResetWifiTotalTxBytes" privilege="http://tizen.org/privilege/network.set" />
39
40                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="DeleteEapConfig" privilege="http://tizen.org/privilege/network.profile" />
41                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="RequestSpecificScan" privilege="http://tizen.org/privilege/network.set" />
42                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="RequestBssidScan" privilege="http://tizen.org/privilege/network.set" />
43                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="RequestWpsCancel" privilege="http://tizen.org/privilege/network.set" />
44                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="RequestWpsConnect" privilege="http://tizen.org/privilege/network.set" />
45                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="CreateEapConfig" privilege="http://tizen.org/privilege/network.profile" />
46                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="LoadDriver" privilege="http://tizen.org/privilege/network.set" />
47                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="GetBssidList" privilege="http://tizen.org/privilege/network.get" />
48                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="RemoveDriver" privilege="http://tizen.org/privilege/network.set" />
49                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="GetWifiState" privilege="http://tizen.org/privilege/network.get" />
50                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="SetBgscan" privilege="http://tizen.org/privilege/network.set" />
51                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="ResumeBgscan" privilege="http://tizen.org/privilege/network.set" />
52                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="PauseBgscan" privilege="http://tizen.org/privilege/network.set" />
53                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="GetPasspoint" privilege="http://tizen.org/privilege/network.get" />
54                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="SetPasspoint" privilege="http://tizen.org/privilege/network.set" />
55                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="LaunchDirect" privilege="http://tizen.org/privilege/wifidirect" />
56                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="GetConfigIds" privilege="http://tizen.org/privilege/network.profile" />
57                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="LoadConfiguration" privilege="http://tizen.org/privilege/network.profile" />
58                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="SaveConfiguration" privilege="http://tizen.org/privilege/network.profile" />
59                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="LoadEapConfiguration" privilege="http://tizen.org/privilege/network.profile" />
60                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="SaveEapConfiguration" privilege="http://tizen.org/privilege/network.profile" />
61                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="RemoveConfiguration" privilege="http://tizen.org/privilege/network.profile" />
62                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="SetConfigField" privilege="http://tizen.org/privilege/network.profile" />
63                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="PowerOnCompleted" privilege="http://tizen.org/privilege/network.get" />
64                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="PowerOffCompleted" privilege="http://tizen.org/privilege/network.get" />
65                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="SpecificScanCompleted" privilege="http://tizen.org/privilege/network.get" />
66                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="BssidScanCompleted" privilege="http://tizen.org/privilege/network.get" />
67                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="TdlsDisconnect" privilege="http://tizen.org/privilege/network.set" />
68                 <check send_destination="net.netconfig" send_interface="net.netconfig.wifi" send_member="TdlsConnectedPeer" privilege="http://tizen.org/privilege/network.get" />
69
70                 <check send_destination="net.netconfig" send_interface="net.connman.Agent" send_member="SetField" privilege="http://tizen.org/privilege/network.profile" />
71
72                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_init" privilege="http://tizen.org/privilege/vpnservice" />
73                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_deinit" privilege="http://tizen.org/privilege/vpnservice" />
74                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_protect" privilege="http://tizen.org/privilege/vpnservice" />
75                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_up" privilege="http://tizen.org/privilege/vpnservice" />
76                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_down" privilege="http://tizen.org/privilege/vpnservice" />
77                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_block_networks" privilege="http://tizen.org/privilege/vpnservice" />
78                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_unblock_networks" privilege="http://tizen.org/privilege/vpnservice" />
79                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_update_settings" privilege="http://tizen.org/privilege/vpnservice" />
80                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_add_route" privilege="http://tizen.org/privilege/vpnservice" />
81                 <check send_destination="net.netconfig" send_interface="net.netconfig.vpnsvc" send_member="vpn_add_dns_server" privilege="http://tizen.org/privilege/vpnservice" />
82         </policy>
83 </busconfig>