mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 13:33:56 +08:00
🤞 Sync 2026-09-27 22:16:29
This commit is contained in:
1 parent
8ede4a8320
commit
618f51e9dc
459 files changed
+44817
-2191
No files matched your search
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"admin/status/trafficctl": {
|
||||
"title": "Traffic Control",
|
||||
"order": 80,
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/status/trafficctl/status"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-trafficctl" ]
|
||||
}
|
||||
},
|
||||
|
||||
"admin/status/trafficctl/status": {
|
||||
"title": "Devices",
|
||||
"order": 1,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "trafficctl/status"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-trafficctl" ]
|
||||
}
|
||||
},
|
||||
|
||||
"admin/status/trafficctl/portfw": {
|
||||
"title": "Port Forwards",
|
||||
"order": 2,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "trafficctl/portfw"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-trafficctl" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"luci-app-trafficctl": {
|
||||
"description": "Grant access to LuCI Traffic Control",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"luci.trafficctl": [
|
||||
"version",
|
||||
"summary", "device", "bytes", "ifaces",
|
||||
"ratelimit_stats", "shape_stats", "rdns",
|
||||
"portfw_list", "names_list", "netify_status", "netify_list",
|
||||
"shape_status",
|
||||
"config_get", "telegram_config_get",
|
||||
"logging_config_get", "newdevice_config_get"
|
||||
],
|
||||
"file": [ "read" ]
|
||||
},
|
||||
"uci": [ "trafficctl", "wireless", "network" ],
|
||||
"file": {
|
||||
"/tmp/dhcp.leases": [ "read" ]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"ubus": {
|
||||
"luci.trafficctl": [
|
||||
"block", "unblock",
|
||||
"macfilter_add", "macfilter_remove",
|
||||
"ratelimit", "shape_add", "shape_remove",
|
||||
"portfw_ctl", "name_set", "name_clear", "netify_collect",
|
||||
"config_set",
|
||||
"telegram_config_set", "telegram_test",
|
||||
"logging_config_set", "activity_log",
|
||||
"newdevice_config_set"
|
||||
]
|
||||
},
|
||||
"uci": [ "trafficctl" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user