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
|
{
"luci-app-package-manager": {
"description": "Grant access to package management",
"read": {
"cgi-io": [ "exec" ],
"file": {
"/usr/libexec/package-manager-call list-installed": [ "exec" ],
"/usr/libexec/package-manager-call list-available": [ "exec" ],
"/etc/opkg.conf": [ "read" ],
"/etc/opkg/*.conf": [ "read" ],
"/etc/apk/repositories": [ "read" ]
},
"ubus": {
"luci": [ "getMountPoints" ]
}
},
"write": {
"file": {
"/usr/libexec/package-manager-call install": [ "exec" ],
"/usr/libexec/package-manager-call install *": [ "exec" ],
"/usr/libexec/package-manager-call remove *": [ "exec" ],
"/usr/libexec/package-manager-call update": [ "exec" ],
"/usr/libexec/package-manager-call upgrade": [ "exec" ],
"/usr/libexec/package-manager-call upgrade *": [ "exec" ],
"/etc/opkg.conf": [ "write" ],
"/etc/opkg/*.conf": [ "write" ],
"/etc/apk/repositories": [ "write" ],
"/tmp/upload.ipk": [ "write" ],
"/tmp/upload.apk": [ "write" ]
}
}
}
}
|