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