summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-07-25 14:24:03 +0200
committerGitHub <noreply@github.com>2023-07-25 14:24:03 +0200
commit5d5cf556cfdea09945281118f2da1b87b92b6bff (patch)
treeb4322bcfeaf653fac8a9864b1724d17030f4a9f7 /applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json
parent075b86ceebe7c9ef31a11fcecad0b26960fd4dc3 (diff)
parentebd09332b4330001ecd3a86d1b379e0afc3bafee (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.json20
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"]
+ }
+ }
+}