diff options
Diffstat (limited to 'modules/luci-mod-dsl/root')
-rw-r--r-- | modules/luci-mod-dsl/root/usr/share/luci/menu.d/luci-mod-dsl.json | 25 | ||||
-rw-r--r-- | modules/luci-mod-dsl/root/usr/share/rpcd/acl.d/luci-mod-dsl.json | 6 |
2 files changed, 24 insertions, 7 deletions
diff --git a/modules/luci-mod-dsl/root/usr/share/luci/menu.d/luci-mod-dsl.json b/modules/luci-mod-dsl/root/usr/share/luci/menu.d/luci-mod-dsl.json index 76d56fd6d5..4e77b6f9e6 100644 --- a/modules/luci-mod-dsl/root/usr/share/luci/menu.d/luci-mod-dsl.json +++ b/modules/luci-mod-dsl/root/usr/share/luci/menu.d/luci-mod-dsl.json @@ -1,13 +1,30 @@ { "admin/status/dsl": { - "title": "DSL line spectrum", + "title": "DSL Status", "order": 7, "action": { - "type": "view", - "path": "status/dsl/spectrum" + "type": "firstchild" }, "depends": { - "acl": [ "luci-mod-dsl-spectrum" ] + "acl": [ "luci-mod-dsl" ] + } + }, + + "admin/status/dsl/stats": { + "title": "Stats", + "order": 1, + "action": { + "type": "view", + "path": "status/dsl/stats" + } + }, + + "admin/status/dsl/spectrum": { + "title": "Spectrum", + "order": 2, + "action": { + "type": "view", + "path": "status/dsl/spectrum" } } } diff --git a/modules/luci-mod-dsl/root/usr/share/rpcd/acl.d/luci-mod-dsl.json b/modules/luci-mod-dsl/root/usr/share/rpcd/acl.d/luci-mod-dsl.json index 7a5b6fcf4b..ee69882f4e 100644 --- a/modules/luci-mod-dsl/root/usr/share/rpcd/acl.d/luci-mod-dsl.json +++ b/modules/luci-mod-dsl/root/usr/share/rpcd/acl.d/luci-mod-dsl.json @@ -1,9 +1,9 @@ { - "luci-mod-dsl-spectrum": { - "description": "Grant access to luci-mod-dsl spectrum", + "luci-mod-dsl": { + "description": "Grant access to luci-mod-dsl", "read": { "ubus": { - "dsl": [ "statistics" ] + "dsl": [ "metrics", "statistics" ] } } } |