diff options
author | Dengfeng Liu <liudf0716@gmail.com> | 2022-05-09 17:21:30 +0800 |
---|---|---|
committer | Dengfeng Liu <liudf0716@gmail.com> | 2022-06-28 17:24:13 +0800 |
commit | 283ac0513f5c84005c5b3b87f243a5b597b0497e (patch) | |
tree | cc5a9339599a019350f6ce3b5f9193ce20fb8260 /applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d | |
parent | 94e787bd69aec30d8f1290eb7f3f4cfa69da1683 (diff) |
luci-app-xfrpc: add luci-app-xfrpc
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
Diffstat (limited to 'applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d')
-rw-r--r-- | applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json | 14 |
1 files changed, 14 insertions, 0 deletions
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"] + } + } +} |