summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-usteer/root/usr/share/rpcd/acl.d/luci-app-usteer.json
blob: f076ce9fa11bb0a5db87ef7edac6e4fc2c2b54a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "luci-app-usteer": {
    "description": "Grant UCI access to LuCI app usteer",
    "read": {
      "ubus": {
        "uci": [ "get" ],
        "usteer": [ "remote_info","remote_hosts", "local_info", "get_clients"],
        "luci-rpc": [ "getHostHints" ],
        "network.rrdns": [ "lookup" ]
      },
      "uci": [
        "usteer"
      ],
	  "file": {
        "/etc/init.d/usteer": [ "read" ]
      }
    },
    "write": {
      "ubus": {
        "uci": [ "set", "commit"  ]
      },
      "uci": [ "usteer" ],
      "file": {
        "/usr/sbin/hostapd_cli -i * all_sta": [ "exec" ]
      }
    }
  }
}