mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 22:50:58 +00:00
luci-app: Fixed tools.js, ACL
This commit is contained in:
@@ -1,63 +1,63 @@
|
||||
{
|
||||
"admin/services/ruantiblock": {
|
||||
"title": "Ruantiblock",
|
||||
"order": 60,
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/services/ruantiblock/service"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ruantiblock" ],
|
||||
"fs": {
|
||||
"/usr/bin/ruantiblock": "executable",
|
||||
"/etc/init.d/ruantiblock": "executable"
|
||||
},
|
||||
"uci": { "ruantiblock": true }
|
||||
}
|
||||
},
|
||||
"admin/services/ruantiblock": {
|
||||
"title": "Ruantiblock",
|
||||
"order": 60,
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/services/ruantiblock/service"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-ruantiblock" ],
|
||||
"fs": {
|
||||
"/usr/bin/ruantiblock": "executable",
|
||||
"/etc/init.d/ruantiblock": "executable"
|
||||
},
|
||||
"uci": { "ruantiblock": true }
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/ruantiblock/service": {
|
||||
"title": "Service",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/service"
|
||||
}
|
||||
},
|
||||
"admin/services/ruantiblock/service": {
|
||||
"title": "Service",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/service"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/ruantiblock/settings": {
|
||||
"title": "Settings",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/settings"
|
||||
}
|
||||
},
|
||||
"admin/services/ruantiblock/settings": {
|
||||
"title": "Settings",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/settings"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/ruantiblock/cron": {
|
||||
"title": "Blacklist updates",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/cron"
|
||||
}
|
||||
},
|
||||
"admin/services/ruantiblock/cron": {
|
||||
"title": "Blacklist updates",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/cron"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/ruantiblock/info": {
|
||||
"title": "Statistics",
|
||||
"order": 40,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/info"
|
||||
}
|
||||
},
|
||||
"admin/services/ruantiblock/info": {
|
||||
"title": "Statistics",
|
||||
"order": 40,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/info"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/ruantiblock/log": {
|
||||
"title": "Log",
|
||||
"order": 50,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/log"
|
||||
}
|
||||
}
|
||||
"admin/services/ruantiblock/log": {
|
||||
"title": "Log",
|
||||
"order": 50,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "ruantiblock/log"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"read": {
|
||||
"cgi-io": [ "exec" ],
|
||||
"file": {
|
||||
"/usr/bin": [ "list" ],
|
||||
"/usr/libexec/ruantiblock": [ "list" ],
|
||||
"/etc/ruantiblock/fqdn_filter": [ "read" ],
|
||||
"/etc/ruantiblock/ip_filter": [ "read" ],
|
||||
"/etc/ruantiblock/user_entries": [ "read" ],
|
||||
|
||||
Reference in New Issue
Block a user