summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status-index.json
blob: a9ae0cef49e837418256116ff071d7ac841c5ae0 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
	"luci-mod-status-index": {
		"description": "Grant access to main status display",
		"read": {
			"file": {
				"/proc/sys/net/netfilter/nf_conntrack_count": [ "read" ],
				"/proc/sys/net/netfilter/nf_conntrack_max": [ "read" ],
				"/usr/lib/lua/luci/version.lua": [ "read" ],
				"/www/luci-static/resources/view/status/include": [ "list" ]
			},
			"ubus": {
				"file": [ "list", "read" ],
				"system": [ "board", "info" ]
			}
		},
		"write": {
			"uci": [ "dhcp" ]
		}
	},

	"luci-mod-status-index-dhcp": {
		"description": "Grant access to DHCP status display",
		"read": {
			"ubus": {
				"luci-rpc": [ "getDHCPLeases" ]
			}
		}
	},

	"luci-mod-status-index-dsl": {
		"description": "Grant access to DSL status display",
		"read": {
			"ubus": {
				"dsl": [ "metrics" ]
			}
		}
	},

	"luci-mod-status-index-wifi": {
		"description": "Grant access to wireless status display",
		"read": {
			"ubus": {
				"iwinfo": [ "assoclist" ]
			}
		},
		"write": {
			"ubus": {
				"hostapd.*": [ "del_client", "wps_start", "wps_cancel", "wps_status" ]
			}
		}
	}
}