From 283ac0513f5c84005c5b3b87f243a5b597b0497e Mon Sep 17 00:00:00 2001 From: Dengfeng Liu Date: Mon, 9 May 2022 17:21:30 +0800 Subject: luci-app-xfrpc: add luci-app-xfrpc Signed-off-by: Dengfeng Liu --- .../root/usr/share/rpcd/acl.d/luci-app-xfrpc.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json (limited to 'applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d') diff --git a/applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json b/applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json new file mode 100644 index 0000000000..af9af7100c --- /dev/null +++ b/applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json @@ -0,0 +1,14 @@ +{ + "luci-app-xfrpc": { + "description": "Grant access to LuCI app xfrpc", + "read": { + "ubus": { + "service": [ "list" ] + }, + "uci": ["xfrpc"] + }, + "write": { + "uci": ["xfrpc"] + } + } +} -- cgit v1.2.3