~/paste/45132
~/paste/45132
~/paste/45132

  1. From 6ec16a15eadd70234be7341551725cf0d5f9e54b Mon Sep 17 00:00:00 2001
  2. From: Mirko Vogt <mirko-openwrt@nanl.de>
  3. Date: Sat, 5 Dec 2020 12:34:41 +0000
  4. Subject: [PATCH] luci-compat: Fix typo in wildcard which is supposed to grant
  5.  all perms.
  6.  
  7. Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
  8. ---
  9. .../luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json    | 4 ++--
  10.  1 file changed, 2 insertions(+), 2 deletions(-)
  11.  
  12. 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
  13. index ea1a43536..8f0715258 100644
  14. --- a/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json
  15. +++ b/modules/luci-compat/root/usr/share/rpcd/acl.d/luci-compat.json
  16. @@ -2,10 +2,10 @@
  17.         "allow-full-uci-access": {
  18.                 "description": "Allow full UCI access for legacy applications",
  19.                 "read": {
  20. -                       "uci": [ "'*" ]
  21. +                       "uci": [ "*" ]
  22.                 },
  23.                 "write": {
  24. -                       "uci": [ "'*" ]
  25. +                       "uci": [ "*" ]
  26.                 }
  27.         }
  28.  }
  29. --
  30. 2.20.1
Language: diff
Posted by Anonymous at 05 Dec 2020, 12:37:46 UTC