summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
blob: fb7be94cf488ed96eec9816f743536f7f5b0d876 (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
53
54
{
	"unauthenticated": {
		"description": "Allow system feature probing",
		"read": {
			"ubus": {
				"luci": [ "getFeatures" ]
			}
		}
	},

	"uci-access": {
		"description": "Grant uci write access to all configurations",
		"read": {
			"uci": [ "*" ]
		},
		"write": {
			"uci": [ "*" ]
		}
	},
	"luci-access": {
		"description": "Grant access to basic LuCI procedures",
		"read": {
			"ubus": {
				"iwinfo": [ "info" ],
				"luci": [ "boardjson", "duid_hints", "host_hints", "ifaddrs", "initList", "getLocaltime", "leases", "leds", "netdevs", "usb" ],
				"network.device": [ "status" ],
				"network.interface": [ "dump" ],
				"network.wireless": [ "status" ],
				"network": [ "get_proto_handlers" ],
				"uci": [ "changes", "get" ]
			},
			"uci": [ "*" ]
		},
		"write": {
			"ubus": {
				"luci": [ "initCall", "setLocaltime", "timezone" ],
				"uci": [ "add", "apply", "confirm", "delete", "order", "set" ]
			},
			"uci": [ "*" ]
		}
	},
	"luci-app-firewall": {
		"description": "Grant access to firewall procedures",
		"read": {
			"ubus": {
				"luci": [ "conntrack_helpers" ]
			},
			"uci": [ "firewall" ]
		},
		"write": {
			"uci": [ "firewall" ]
		}
	}
}