mirror of
https://github.com/srlabs/blue-merle.git
synced 2024-12-23 14:19:34 -05:00
27 lines
610 B
JSON
27 lines
610 B
JSON
|
{
|
||
|
"luci-app-blue-merle": {
|
||
|
"description": "Grant access to opkg management",
|
||
|
"read": {
|
||
|
"cgi-io": [ "exec" ],
|
||
|
"file": {
|
||
|
"/usr/libexec/blue-merle": [ "exec" ],
|
||
|
"/usr/libexec/blue-merle shred": [ "exec" ],
|
||
|
"/usr/libexec/blue-merle *": [ "exec" ],
|
||
|
"/etc/opkg.conf": [ "read" ],
|
||
|
"/etc/opkg/*.conf": [ "read" ]
|
||
|
},
|
||
|
"ubus": {
|
||
|
"luci": [ "getMountPoints" ]
|
||
|
}
|
||
|
},
|
||
|
"write": {
|
||
|
"file": {
|
||
|
"/usr/libexec/blue-merle": [ "exec" ],
|
||
|
"/usr/libexec/blue-merle shred": [ "exec" ],
|
||
|
"/usr/libexec/blue-merle *": [ "exec" ],
|
||
|
"/tmp/upload.ipk": [ "write" ]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|