diff options
Diffstat (limited to 'applications/luci-app-banip/root/usr/share')
-rw-r--r-- | applications/luci-app-banip/root/usr/share/luci/menu.d/luci-app-banip.json | 15 | ||||
-rw-r--r-- | applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json | 10 |
2 files changed, 17 insertions, 8 deletions
diff --git a/applications/luci-app-banip/root/usr/share/luci/menu.d/luci-app-banip.json b/applications/luci-app-banip/root/usr/share/luci/menu.d/luci-app-banip.json index 6402b04160..fbc998df6d 100644 --- a/applications/luci-app-banip/root/usr/share/luci/menu.d/luci-app-banip.json +++ b/applications/luci-app-banip/root/usr/share/luci/menu.d/luci-app-banip.json @@ -14,6 +14,7 @@ "/usr/bin/banip-service.sh": "executable", "/etc/init.d/banip": "executable", "/etc/banip/banip.feeds": "file", + "/etc/banip/banip.custom.feeds": "file", "/etc/banip/banip.allowlist": "file", "/etc/banip/banip.blocklist": "file", "/etc/banip/banip.countries": "file" @@ -47,9 +48,17 @@ "path": "banip/blocklist" } }, + "admin/services/banip/feeds": { + "title": "Edit Custom Feeds", + "order": 40, + "action": { + "type": "view", + "path": "banip/feeds" + } + }, "admin/services/banip/setreport": { "title": "Set Reporting", - "order": 40, + "order": 50, "action": { "type": "view", "path": "banip/setreport" @@ -57,7 +66,7 @@ }, "admin/services/banip/firewall_log": { "title": "Firewall Log", - "order": 50, + "order": 60, "action": { "type": "view", "path": "banip/firewall_log" @@ -65,7 +74,7 @@ }, "admin/services/banip/processing_log": { "title": "Processing Log", - "order": 60, + "order": 70, "action": { "type": "view", "path": "banip/processing_log" diff --git a/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json b/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json index 9993b10679..395e06aadc 100644 --- a/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json +++ b/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json @@ -2,9 +2,6 @@ "luci-app-banip": { "description": "Grant access to LuCI app banIP", "write": { - "uci": [ - "banip" - ], "file": { "/etc/banip/*": [ "read" @@ -15,10 +12,13 @@ "/etc/banip/banip.blocklist": [ "write" ], - "/etc/banip/banip.feeds": [ + "/etc/banip/banip.custom.feeds": [ "write" ] - } + }, + "uci": [ + "banip" + ] }, "read": { "cgi-io": [ |