luci/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json
Jo-Philipp Wich 6e6fce3eb4 luci-proto-wireguard: merge status page functionality
Merge status page functionality from the separate `luci-app-wireguard`
package into the `luci-proto-wirguard` protocol backend.

Also rewrite the status page markup to be more compact while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-11-22 10:56:36 +01:00

25 lines
463 B
JSON

{
"luci-proto-wireguard": {
"description": "Grant access to LuCI Wireguard procedures",
"read": {
"file": {
"/usr/bin/qrencode --inline --8bit --type=SVG --output=- -- *": [ "exec" ]
},
"ubus": {
"luci.wireguard": [
"getWgInstances"
]
},
"uci": [ "ddns", "system" ]
},
"write": {
"ubus": {
"luci.wireguard": [
"generateKeyPair",
"getPublicAndPrivateKeyFromPrivate",
"generatePsk"
]
}
}
}
}