summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json7
1 files changed, 7 insertions, 0 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 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" ]
}
}