From 6ec16a15eadd70234be7341551725cf0d5f9e54b Mon Sep 17 00:00:00 2001
From: Mirko Vogt <mirko-openwrt@nanl.de>
Date: Sat, 5 Dec 2020 12:34:41 +0000
Subject: [PATCH] luci-compat: Fix typo in wildcard which is supposed to grant
all perms.
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
---
.../luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json b/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json
index ea1a43536..8f0715258 100644
--- a/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json
+++ b/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json
@@ -2,10 +2,10 @@
"allow-full-uci-access": {
"description": "Allow full UCI access for legacy applications",
"read": {
- "uci": [ "'*" ]
+ "uci": [ "*" ]
},
"write": {
- "uci": [ "'*" ]
+ "uci": [ "*" ]
}
}
}
--
2.20.1