From 9e57fbb2c3f9c44cdf0a57e6fb9c1df32c84d52b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 3 Nov 2019 20:34:57 +0100 Subject: luci-base, luci-app-firewall: port custom rules to client side view Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/luci-base/root/usr') 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 a60c432bcb..321817302e 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 @@ -88,12 +88,19 @@ "luci-app-firewall": { "description": "Grant access to firewall procedures", "read": { + "file": { + "/etc/firewall.user": [ "read" ] + }, "ubus": { "luci": [ "getConntrackHelpers" ] }, "uci": [ "firewall" ] }, "write": { + "file": { + "/etc/firewall.user": [ "write" ], + "/etc/init.d/firewall": [ "exec" ] + }, "uci": [ "firewall" ] } } -- cgit v1.2.3