mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
structure the promise so uci.set functions properly. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
29 lines
449 B
JSON
29 lines
449 B
JSON
{
|
|
"luci-proto-openvpn": {
|
|
"description": "Grant access to LuCI openvpn procedures",
|
|
"read": {
|
|
"file": {
|
|
"/bin/mkdir -p /etc/openvpn/*": [ "exec" ],
|
|
"/etc/openvpn/*": [ "read" ]
|
|
},
|
|
"ubus": {
|
|
"luci.openvpn": [
|
|
"*"
|
|
]
|
|
},
|
|
"uci": [ "network" ]
|
|
},
|
|
"write": {
|
|
"file": {
|
|
"/etc/openvpn/*": [ "write", "remove" ]
|
|
},
|
|
"ubus": {
|
|
"luci.openvpn": [
|
|
"*"
|
|
]
|
|
},
|
|
"uci": [ "network" ]
|
|
}
|
|
}
|
|
}
|