summaryrefslogtreecommitdiffstats
path: root/modules/luci-mod-dashboard/root/usr/share/rpcd/acl.d/luci-mod-dashboard.json
blob: db827b3c7dbfd293f9d13926382d1c84fbb36f16 (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
{
	"luci-mod-dashboard-routes": {
		"description": "Grant access to the system route status",
		"read": {
			"ubus": {
				"file": [ "exec" ]
			}
		}
	},

	"luci-mod-dashboard-index": {
		"description": "Grant access to main status display",
		"read": {
			"file": {
				"/www/luci-static/resources/view/status/include": [ "list" ]
			},
			"ubus": {
				"file": [ "list", "read" ],
				"luci": [ "getUnixtime" ],
				"luci.dashboard": [ "history" ],
				"system": [ "board", "info" ]
			},
			"uci": [ "dashboard" ]
		},
		"write": {
			"uci": [ "dashboard" ]
		}
	},

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

	"luci-mod-dashboard-index-wifi": {
		"description": "Grant access to wireless status display",
		"read": {
			"ubus": {
				"iwinfo": [ "assoclist" ]
			}
		}
	}
}