diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-07-07 17:14:15 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-07-07 17:15:37 +0200 |
commit | a6d957d6f59329cc16c838afe3c88c6072fad236 (patch) | |
tree | dc5fe2bbaec1558bd816a178859becb34de7d3ac /modules/luci-mod-status/root/usr/share/rpcd/acl.d | |
parent | 9922c838cd1abcda60f4e93b89b0c52a101fc667 (diff) |
luci-mod-status: disable "Set static" lease action on readonly view
Fixes: f6b6a12927 ("luci-mod-status: add support for one-click static lease")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/root/usr/share/rpcd/acl.d')
-rw-r--r-- | modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json index e23a0ae6b4..3e7d823014 100644 --- a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json +++ b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json @@ -104,6 +104,9 @@ "file": [ "list", "read" ], "system": [ "board", "info" ] } + }, + "write": { + "uci": [ "dhcp" ] } }, |