summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-06-02 17:09:50 +0200
committerJo-Philipp Wich <jo@mein.io>2020-06-02 17:09:50 +0200
commit05f07e55b7c96e0efd161425df6e1f628544af73 (patch)
tree3345dc053abfcb1eaecb6ff59cc07c3a7aac1e1f /modules/luci-base
parent068449bf15cbf30c4461b2b9d48fe999e9ed642c (diff)
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 <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json2
1 files changed, 1 insertions, 1 deletions
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" ]
}
}
},