From 6afea76f4e5eabc6f0c73729afa3bd3df745e415 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Tue, 9 Apr 2024 10:37:05 +0300 Subject: luci-app-filebrowser: File Browser Add a File Browser based on the FileUpload CBI element. It allows browsing files and directories on a router, delete and upload. This covers only basic needs. Signed-off-by: Sergey Ponomarev --- .../root/usr/share/rpcd/acl.d/luci-app-filebrowser.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d/luci-app-filebrowser.json (limited to 'applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d') diff --git a/applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d/luci-app-filebrowser.json b/applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d/luci-app-filebrowser.json new file mode 100644 index 0000000000..858a8dd70d --- /dev/null +++ b/applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d/luci-app-filebrowser.json @@ -0,0 +1,14 @@ +{ + "luci-app-filebrowser": { + "description": "Grant access to File Browser", + "write": { + "cgi-io": [ "upload", "download" ], + "ubus": { + "file": [ "*" ] + }, + "file": { + "/*": [ "list", "read", "write" ] + } + } + } +} -- cgit v1.2.3