diff options
Diffstat (limited to 'applications/luci-app-openwisp/root')
-rw-r--r-- | applications/luci-app-openwisp/root/usr/share/luci/menu.d/luci-app-openwisp.json | 13 | ||||
-rw-r--r-- | applications/luci-app-openwisp/root/usr/share/rpcd/acl.d/luci-app-openwisp.json | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/applications/luci-app-openwisp/root/usr/share/luci/menu.d/luci-app-openwisp.json b/applications/luci-app-openwisp/root/usr/share/luci/menu.d/luci-app-openwisp.json new file mode 100644 index 0000000000..75d13b9560 --- /dev/null +++ b/applications/luci-app-openwisp/root/usr/share/luci/menu.d/luci-app-openwisp.json @@ -0,0 +1,13 @@ +{ + "admin/services/openwisp": { + "title": "OpenWISP", + "order": 90, + "action": { + "type": "view", + "path": "openwisp" + }, + "depends": { + "acl": [ "luci-app-openwisp" ] + } + } +} diff --git a/applications/luci-app-openwisp/root/usr/share/rpcd/acl.d/luci-app-openwisp.json b/applications/luci-app-openwisp/root/usr/share/rpcd/acl.d/luci-app-openwisp.json new file mode 100644 index 0000000000..35a3d128d0 --- /dev/null +++ b/applications/luci-app-openwisp/root/usr/share/rpcd/acl.d/luci-app-openwisp.json @@ -0,0 +1,11 @@ +{ + "luci-app-openwisp": { + "description": "Grant access to luci-app-openwisp", + "read": { + "uci": [ "openwisp" ] + }, + "write": { + "uci": [ "openwisp" ] + } + } +} |