From ebd09332b4330001ecd3a86d1b379e0afc3bafee Mon Sep 17 00:00:00 2001 From: Ayushman Tripathi Date: Mon, 26 Jun 2023 01:23:48 +0530 Subject: luci-app-olsr: migrate to js Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js fix XSS vulnerability Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix minor bugs Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix plugins bugs Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix interfaces bugs Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix interface & snr bugs Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix hostname Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix typo Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix missing files, use rpc for hostnames, remove luci-compat Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js luci-app-olsr: migrate to js fix menu order Signed-off-by: Ayushman Tripathi luci-app-olsr: migrate to js --- .../rpcd/acl.d/luci-app-olsr-unauthenticated.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json (limited to 'applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr-unauthenticated.json') 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"] + } + } +} -- cgit v1.2.3