summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-pbr/root/usr/share/rpcd/acl.d/luci-app-pbr.json
blob: 6c2f7de6d78a994e00f366543a1d7c8d6cd53fb1 (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
{
	"luci-app-pbr": {
		"description": "Grant UCI and file access for luci-app-pbr",
		"read": {
			"ubus": {
				"luci.pbr": [
					"getGateways",
					"getInitList",
					"getInitStatus",
					"getInterfaces",
					"getPlatformSupport"
				]
			},
			"file": {
				"/usr/share/nftables.d/ruleset-post/30-pbr.nft": [
					"read"
				],
				"/var/run/pbr.nft": [
					"read"
				]
			},
			"uci": [
				"pbr"
			]
		},
		"write": {
			"uci": [
				"pbr"
			],
			"ubus": {
				"luci.pbr": [
					"setInitAction"
				]
			}
		}
	}
}