summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/luci-app-attendedsysupgrade.json
blob: 0faf96717ec389466289547f961f18218de2b88a (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
{
	"luci-app-attendedsysupgrade": {
		"description": "Grant UCI access to LuCI app attendedsysupgrade",
		"read": {
			"ubus": {
				"rpc-sys": [
					"upgrade_start",
					"packagelist"
				],
				"system": [
					"board",
					"info"
				],
				"uci": [
					"get"
				]
			},
			"file": {
				"/sys/firmware/efi": [ "list" ]
			},
			"uci": [
				"attendedsysupgrade"
			]
		},
		"write": {
			"cgi-io": [
				"upload"
			],
			"ubus": {
				"uci": [
					"set", "commit"
				]
			},
			"uci": [
				"attendedsysupgrade"
			]
		}
	}
}