diff options
Diffstat (limited to 'applications/luci-app-rosy-file-server/root')
2 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json b/applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json index 03e7fd0f4a..c0a466576d 100644 --- a/applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json +++ b/applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json @@ -8,6 +8,7 @@ "type": "firstchild" }, "depends": { + "acl": [ "luci-app-rosy-file-server" ], "uci": { "rosyfs": true } } }, diff --git a/applications/luci-app-rosy-file-server/root/usr/share/rpcd/acl.d/luci-app-rosy-file-server.json b/applications/luci-app-rosy-file-server/root/usr/share/rpcd/acl.d/luci-app-rosy-file-server.json new file mode 100644 index 0000000000..b5ce1ffa16 --- /dev/null +++ b/applications/luci-app-rosy-file-server/root/usr/share/rpcd/acl.d/luci-app-rosy-file-server.json @@ -0,0 +1,11 @@ +{ + "luci-app-rosy-file-server": { + "description": "Grant UCI access for luci-app-rosy-file-server", + "read": { + "uci": [ "rosyfs" ] + }, + "write": { + "uci": [ "rosyfs" ] + } + } +} |