diff options
Diffstat (limited to 'applications/luci-app-usteer/root/usr/share/rpcd')
-rw-r--r-- | applications/luci-app-usteer/root/usr/share/rpcd/acl.d/luci-app-usteer.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/applications/luci-app-usteer/root/usr/share/rpcd/acl.d/luci-app-usteer.json b/applications/luci-app-usteer/root/usr/share/rpcd/acl.d/luci-app-usteer.json new file mode 100644 index 0000000000..e5740f5155 --- /dev/null +++ b/applications/luci-app-usteer/root/usr/share/rpcd/acl.d/luci-app-usteer.json @@ -0,0 +1,21 @@ +{ + "luci-app-usteer": { + "description": "Grant UCI access to LuCI app usteer", + "read": { + "ubus": { + "uci": [ "get" ], + "usteer": [ "remote_info","remote_hosts", "local_info", "get_clients"], + "luci-rpc": [ "getHostHints" ] + }, + "uci": [ + "usteer" + ] + }, + "write": { + "ubus": { + "uci": [ "set", "commit" ] + }, + "uci": [ "usteer" ] + } + } +} |