~/paste/45131
~/paste/45131
~/paste/45131

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