From 05f07e55b7c96e0efd161425df6e1f628544af73 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 2 Jun 2020 17:09:50 +0200 Subject: [PATCH] luci-base: grant uci rename permissions When doing an initial wireless configuration migration, LuCI needs to perform a series of rename calls which weren't allowed so far. Ref: https://forum.openwrt.org/t/config-migration-endless-loop/64340 Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json index bc71b31b1..af9fc514e 100644 --- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json +++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json @@ -27,7 +27,7 @@ }, "ubus": { "file": [ "remove" ], - "uci": [ "add", "apply", "confirm", "delete", "order", "set" ] + "uci": [ "add", "apply", "confirm", "delete", "order", "rename", "set" ] } } }, -- 2.25.1