summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
blob: 6cbaa3d56d04f99b81b2caa292ce38ea44d139e5 (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
{
	"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", "leases", "leds", "netdevs", "offload_support", "usb" ],
				"network.device": [ "status" ],
				"network.interface": [ "dump" ],
				"network.wireless": [ "status" ],
				"uci": [ "changes", "get" ]
			},
			"uci": [ "*" ]
		},
		"write": {
			"ubus": {
				"luci": [ "initCall", "localtime", "timezone" ],
				"uci": [ "add", "apply", "confirm", "delete", "order", "set" ]
			},
			"uci": [ "*" ]
		}
	}
}