diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-11-22 10:27:15 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-11-22 10:56:36 +0100 |
commit | 6e6fce3eb43ea6899eedc91bebd5713a5d4c773b (patch) | |
tree | 281b09a0e3977ec940896416341f1bb8b3008399 /applications/luci-app-wireguard/root/usr/share | |
parent | 90a2b1eaeb58b7169b31fdc097c5bfe6f557c778 (diff) |
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>
Diffstat (limited to 'applications/luci-app-wireguard/root/usr/share')
-rw-r--r-- | applications/luci-app-wireguard/root/usr/share/luci/menu.d/luci-app-wireguard.json | 14 | ||||
-rw-r--r-- | applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json | 12 |
2 files changed, 0 insertions, 26 deletions
diff --git a/applications/luci-app-wireguard/root/usr/share/luci/menu.d/luci-app-wireguard.json b/applications/luci-app-wireguard/root/usr/share/luci/menu.d/luci-app-wireguard.json deleted file mode 100644 index 02cdb5e871..0000000000 --- a/applications/luci-app-wireguard/root/usr/share/luci/menu.d/luci-app-wireguard.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "admin/status/wireguard": { - "title": "WireGuard", - "order": 92, - "action": { - "type": "view", - "path": "wireguard/status" - }, - "depends": { - "acl": [ "luci-app-wireguard" ], - "uci": { "network": true } - } - } -} diff --git a/applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json b/applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json deleted file mode 100644 index cd38bcf8ec..0000000000 --- a/applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "luci-app-wireguard": { - "description": "Grant access to LuCI app wireguard", - "read": { - "ubus": { - "luci.wireguard": [ - "getWgInstances" - ] - } - } - } -} |