summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-lldpd/root/usr/share/rpcd/acl.d/luci-app-lldpd.json
blob: 23500f1b02648315c6200c10d44498c169527dc4 (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
{
	"luci-app-lldpd-status": {
		"description": "Grant access for LLDP status information",
		"read": {
			"ubus": {
				"luci.lldpd": [
					"getStatus"
				]
			},
			"uci": [
				"lldpd",
				"luci"
			]
		}
	},

	"luci-app-lldpd-config": {
		"description": "Grant access for LLDP configuration",
		"read": {
			"uci": [
				"lldpd"
			],
			"ubus": {
				"luci.lldpd": [
					"getStatus"
				],
				"luci": [
					"getInitList"
				]
			}
		},
		"write": {
			"uci": [
				"lldpd"
			],
			"ubus": {
				"rc": [
					"init"
				]
			}
		}
	}
}