From: Jo-Philipp Wich Date: Tue, 2 Jun 2020 15:09:50 +0000 (+0200) Subject: luci-base: grant uci rename permissions X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=05f07e55b7c96e0efd161425df6e1f628544af73;p=oweals%2Fluci.git 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 --- 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" ] } } },