summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d/luci-app-filebrowser.json
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d/luci-app-filebrowser.json')
-rw-r--r--applications/luci-app-filebrowser/root/usr/share/rpcd/acl.d/luci-app-filebrowser.json14
1 files changed, 14 insertions, 0 deletions
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" ]
+ }
+ }
+ }
+}