projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
068449b
)
luci-base: grant uci rename permissions
author
Jo-Philipp Wich
<jo@mein.io>
Tue, 2 Jun 2020 15:09:50 +0000
(17:09 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 2 Jun 2020 15:09:50 +0000
(17:09 +0200)
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>
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
patch
|
blob
|
history
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 bc71b31b19492978cb3ee8e405a780cdec8038a0..af9fc514e134278074cc30b403d33b0cc3e54d60 100644
(file)
--- 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" ]
}
}
},