diff options
Diffstat (limited to 'modules/luci-mod-dsl/root/usr/share')
-rw-r--r-- | modules/luci-mod-dsl/root/usr/share/luci/menu.d/luci-mod-dsl.json | 13 | ||||
-rw-r--r-- | modules/luci-mod-dsl/root/usr/share/rpcd/acl.d/luci-mod-dsl.json | 10 |
2 files changed, 23 insertions, 0 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 new file mode 100644 index 0000000000..76d56fd6d5 --- /dev/null +++ b/modules/luci-mod-dsl/root/usr/share/luci/menu.d/luci-mod-dsl.json @@ -0,0 +1,13 @@ +{ + "admin/status/dsl": { + "title": "DSL line spectrum", + "order": 7, + "action": { + "type": "view", + "path": "status/dsl/spectrum" + }, + "depends": { + "acl": [ "luci-mod-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 new file mode 100644 index 0000000000..7a5b6fcf4b --- /dev/null +++ b/modules/luci-mod-dsl/root/usr/share/rpcd/acl.d/luci-mod-dsl.json @@ -0,0 +1,10 @@ +{ + "luci-mod-dsl-spectrum": { + "description": "Grant access to luci-mod-dsl spectrum", + "read": { + "ubus": { + "dsl": [ "statistics" ] + } + } + } +} |