* add the ability to up-/download a local/remote JSON feed file Signed-off-by: Dirk Brenken <dev@brenken.org>
78 lines
1.2 KiB
JSON
78 lines
1.2 KiB
JSON
{
|
|
"luci-app-banip": {
|
|
"description": "Grant access to LuCI app banIP",
|
|
"write": {
|
|
"file": {
|
|
"/etc/banip/*": [
|
|
"read",
|
|
"write"
|
|
],
|
|
"/etc/banip/banip.allowlist": [
|
|
"write"
|
|
],
|
|
"/etc/banip/banip.blocklist": [
|
|
"write"
|
|
],
|
|
"/etc/banip/banip.custom.feeds": [
|
|
"read",
|
|
"write"
|
|
]
|
|
},
|
|
"uci": [
|
|
"banip"
|
|
]
|
|
},
|
|
"read": {
|
|
"cgi-io": [
|
|
"exec"
|
|
],
|
|
"file": {
|
|
"/var/run/banip.lock": [
|
|
"read"
|
|
],
|
|
"/sbin/logread -e banIP-": [
|
|
"exec"
|
|
],
|
|
"/usr/sbin/logread -e banIP-": [
|
|
"exec"
|
|
],
|
|
"/sbin/logread -e banIP/": [
|
|
"exec"
|
|
],
|
|
"/usr/sbin/logread -e banIP/": [
|
|
"exec"
|
|
],
|
|
"/usr/sbin/nft -tj list ruleset": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip stop": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip reload": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip restart": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip report json": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip search [A-Za-z0-9:.]*": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip survey [A-Za-z0-9]*": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip status": [
|
|
"exec"
|
|
],
|
|
"/etc/init.d/banip lookup": [
|
|
"exec"
|
|
]
|
|
},
|
|
"uci": [
|
|
"banip"
|
|
]
|
|
}
|
|
}
|
|
}
|