diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-07-25 14:24:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 14:24:03 +0200 |
commit | 5d5cf556cfdea09945281118f2da1b87b92b6bff (patch) | |
tree | b4322bcfeaf653fac8a9864b1724d17030f4a9f7 /applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json | |
parent | 075b86ceebe7c9ef31a11fcecad0b26960fd4dc3 (diff) | |
parent | ebd09332b4330001ecd3a86d1b379e0afc3bafee (diff) |
Merge pull request #6445 from Ayushmanwebdeveloper/luci-app-olsr-js-mig
luci-app-olsr: migrate to JavaScript-based implementation
Diffstat (limited to 'applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json')
-rw-r--r-- | applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json b/applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json new file mode 100644 index 0000000000..66bd8b7372 --- /dev/null +++ b/applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json @@ -0,0 +1,20 @@ +{ + "unauthenticated": { + "description": "Grant read access", + "read": { + "ubus": { + "uci": ["get"], + "luci-rpc": ["*"], + "network.interface": ["dump"], + "network": ["get_proto_handlers"], + "olsrd": ["olsrd_jsoninfo"], + "olsrd6": ["olsrd_jsoninfo"], + "olsrinfo": ["getjsondata", "hasipip", "hosts"], + "file": ["read"], + "iwinfo": ["assoclist"] + + }, + "uci": ["luci_olsr", "olsrd", "olsrd6", "network", "network.interface"] + } + } +} |