summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2022-06-29 11:07:53 +0200
committerGitHub <noreply@github.com>2022-06-29 11:07:53 +0200
commit745faa142c0d4342173e55ef02c2e9d667275b9c (patch)
tree2ae53a542086033604f4d01ee26ad52f83a426cf /applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json
parent18cdb4c02858dca2ca2c3fef126f8631bfb1a80e (diff)
parent283ac0513f5c84005c5b3b87f243a5b597b0497e (diff)
Merge pull request #5842 from liudf0716/xfrpc
luci-app-xfrpc: add luci-app-xfrpc
Diffstat (limited to 'applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json')
-rw-r--r--applications/luci-app-xfrpc/root/usr/share/rpcd/acl.d/luci-app-xfrpc.json14
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"]
+ }
+ }
+}