refactor(menu): Move SecuBox services to LuCI Services menu

Move 9 service apps from admin/secubox/services/ to admin/services/:
- localai, lyrion, magicmirror2, mailinabox, mmpm
- nextcloud, ollama, vhost-manager, mitmproxy

Services now appear under standard LuCI Services menu for consistency.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-28 10:49:56 +01:00
parent 68f961f666
commit e4a60dd24e
10 changed files with 38 additions and 36 deletions

View File

@ -166,7 +166,9 @@
"Bash(nc:*)", "Bash(nc:*)",
"Bash(pkill:*)", "Bash(pkill:*)",
"Bash(python3 -m json.tool:*)", "Bash(python3 -m json.tool:*)",
"Bash(git restore:*)" "Bash(git restore:*)",
"Bash(__NEW_LINE_80f7f5dbdf93db8a__ echo \"\")",
"Bash(# Check for other service-like apps in other secubox menus echo \"\"=== Mitmproxy location ===\"\" grep -h ''\"\"admin/'' package/secubox/luci-app-mitmproxy/root/usr/share/luci/menu.d/*.json)"
] ]
} }
} }

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/services/localai": { "admin/services/localai": {
"title": "LocalAI", "title": "LocalAI",
"order": 50, "order": 50,
"action": { "action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-localai"] "acl": ["luci-app-localai"]
} }
}, },
"admin/secubox/services/localai/dashboard": { "admin/services/localai/dashboard": {
"title": "Dashboard", "title": "Dashboard",
"order": 10, "order": 10,
"action": { "action": {
@ -20,7 +20,7 @@
"acl": ["luci-app-localai"] "acl": ["luci-app-localai"]
} }
}, },
"admin/secubox/services/localai/models": { "admin/services/localai/models": {
"title": "Models", "title": "Models",
"order": 20, "order": 20,
"action": { "action": {
@ -31,7 +31,7 @@
"acl": ["luci-app-localai"] "acl": ["luci-app-localai"]
} }
}, },
"admin/secubox/services/localai/chat": { "admin/services/localai/chat": {
"title": "Chat", "title": "Chat",
"order": 30, "order": 30,
"action": { "action": {
@ -42,7 +42,7 @@
"acl": ["luci-app-localai"] "acl": ["luci-app-localai"]
} }
}, },
"admin/secubox/services/localai/settings": { "admin/services/localai/settings": {
"title": "Settings", "title": "Settings",
"order": 90, "order": 90,
"action": { "action": {

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/services/lyrion": { "admin/services/lyrion": {
"title": "Lyrion", "title": "Lyrion",
"order": 50, "order": 50,
"action": { "action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-lyrion"] "acl": ["luci-app-lyrion"]
} }
}, },
"admin/secubox/services/lyrion/overview": { "admin/services/lyrion/overview": {
"title": "Overview", "title": "Overview",
"order": 10, "order": 10,
"action": { "action": {
@ -17,7 +17,7 @@
"path": "lyrion/overview" "path": "lyrion/overview"
} }
}, },
"admin/secubox/services/lyrion/settings": { "admin/services/lyrion/settings": {
"title": "Settings", "title": "Settings",
"order": 90, "order": 90,
"action": { "action": {

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/services/magicmirror2": { "admin/services/magicmirror2": {
"title": "MagicMirror", "title": "MagicMirror",
"action": { "type": "view", "path": "magicmirror2/overview" }, "action": { "type": "view", "path": "magicmirror2/overview" },
"depends": { "acl": ["luci-app-magicmirror2"] }, "depends": { "acl": ["luci-app-magicmirror2"] },

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/services/mailinabox": { "admin/services/mailinabox": {
"title": "Mail Server", "title": "Mail Server",
"order": 60, "order": 60,
"action": { "action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-mailinabox"] "acl": ["luci-app-mailinabox"]
} }
}, },
"admin/secubox/services/mailinabox/overview": { "admin/services/mailinabox/overview": {
"title": "Overview", "title": "Overview",
"order": 10, "order": 10,
"action": { "action": {
@ -17,7 +17,7 @@
"path": "mailinabox/overview" "path": "mailinabox/overview"
} }
}, },
"admin/secubox/services/mailinabox/settings": { "admin/services/mailinabox/settings": {
"title": "Settings", "title": "Settings",
"order": 90, "order": 90,
"action": { "action": {

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/security/mitmproxy": { "admin/services/mitmproxy": {
"title": "mitmproxy", "title": "mitmproxy",
"action": { "type": "view", "path": "mitmproxy/overview" }, "action": { "type": "view", "path": "mitmproxy/overview" },
"depends": { "acl": ["luci-app-mitmproxy"] }, "depends": { "acl": ["luci-app-mitmproxy"] },

View File

@ -1,17 +1,17 @@
{ {
"admin/secubox/services/mmpm": { "admin/services/mmpm": {
"title": "MMPM", "title": "MMPM",
"order": 32, "order": 32,
"action": { "action": {
"type": "alias", "type": "alias",
"path": "admin/secubox/services/mmpm/dashboard" "path": "admin/services/mmpm/dashboard"
}, },
"depends": { "depends": {
"acl": ["luci-app-mmpm"], "acl": ["luci-app-mmpm"],
"uci": {"mmpm": true} "uci": {"mmpm": true}
} }
}, },
"admin/secubox/services/mmpm/dashboard": { "admin/services/mmpm/dashboard": {
"title": "Dashboard", "title": "Dashboard",
"order": 1, "order": 1,
"action": { "action": {
@ -19,7 +19,7 @@
"path": "mmpm/dashboard" "path": "mmpm/dashboard"
} }
}, },
"admin/secubox/services/mmpm/modules": { "admin/services/mmpm/modules": {
"title": "Modules", "title": "Modules",
"order": 2, "order": 2,
"action": { "action": {
@ -27,7 +27,7 @@
"path": "mmpm/modules" "path": "mmpm/modules"
} }
}, },
"admin/secubox/services/mmpm/webui": { "admin/services/mmpm/webui": {
"title": "Web GUI", "title": "Web GUI",
"order": 3, "order": 3,
"action": { "action": {
@ -35,7 +35,7 @@
"path": "mmpm/webui" "path": "mmpm/webui"
} }
}, },
"admin/secubox/services/mmpm/settings": { "admin/services/mmpm/settings": {
"title": "Settings", "title": "Settings",
"order": 4, "order": 4,
"action": { "action": {

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/services/nextcloud": { "admin/services/nextcloud": {
"title": "Nextcloud", "title": "Nextcloud",
"order": 55, "order": 55,
"action": { "action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-nextcloud"] "acl": ["luci-app-nextcloud"]
} }
}, },
"admin/secubox/services/nextcloud/overview": { "admin/services/nextcloud/overview": {
"title": "Overview", "title": "Overview",
"order": 10, "order": 10,
"action": { "action": {
@ -17,7 +17,7 @@
"path": "nextcloud/overview" "path": "nextcloud/overview"
} }
}, },
"admin/secubox/services/nextcloud/settings": { "admin/services/nextcloud/settings": {
"title": "Settings", "title": "Settings",
"order": 90, "order": 90,
"action": { "action": {

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/services/ollama": { "admin/services/ollama": {
"title": "Ollama", "title": "Ollama",
"order": 51, "order": 51,
"action": { "action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-ollama"] "acl": ["luci-app-ollama"]
} }
}, },
"admin/secubox/services/ollama/dashboard": { "admin/services/ollama/dashboard": {
"title": "Dashboard", "title": "Dashboard",
"order": 10, "order": 10,
"action": { "action": {
@ -20,7 +20,7 @@
"acl": ["luci-app-ollama"] "acl": ["luci-app-ollama"]
} }
}, },
"admin/secubox/services/ollama/models": { "admin/services/ollama/models": {
"title": "Models", "title": "Models",
"order": 20, "order": 20,
"action": { "action": {
@ -31,7 +31,7 @@
"acl": ["luci-app-ollama"] "acl": ["luci-app-ollama"]
} }
}, },
"admin/secubox/services/ollama/chat": { "admin/services/ollama/chat": {
"title": "Chat", "title": "Chat",
"order": 30, "order": 30,
"action": { "action": {
@ -42,7 +42,7 @@
"acl": ["luci-app-ollama"] "acl": ["luci-app-ollama"]
} }
}, },
"admin/secubox/services/ollama/settings": { "admin/services/ollama/settings": {
"title": "Settings", "title": "Settings",
"order": 90, "order": 90,
"action": { "action": {

View File

@ -1,5 +1,5 @@
{ {
"admin/secubox/services/vhosts": { "admin/services/vhosts": {
"title": "VHost Manager", "title": "VHost Manager",
"order": 40, "order": 40,
"action": { "action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-vhost-manager"] "acl": ["luci-app-vhost-manager"]
} }
}, },
"admin/secubox/services/vhosts/overview": { "admin/services/vhosts/overview": {
"title": "Overview", "title": "Overview",
"order": 10, "order": 10,
"action": { "action": {
@ -17,7 +17,7 @@
"path": "vhost-manager/overview" "path": "vhost-manager/overview"
} }
}, },
"admin/secubox/services/vhosts/vhosts": { "admin/services/vhosts/vhosts": {
"title": "Virtual Hosts", "title": "Virtual Hosts",
"order": 20, "order": 20,
"action": { "action": {
@ -25,7 +25,7 @@
"path": "vhost-manager/vhosts" "path": "vhost-manager/vhosts"
} }
}, },
"admin/secubox/services/vhosts/internal": { "admin/services/vhosts/internal": {
"title": "Internal Services", "title": "Internal Services",
"order": 25, "order": 25,
"action": { "action": {
@ -33,7 +33,7 @@
"path": "vhost-manager/internal" "path": "vhost-manager/internal"
} }
}, },
"admin/secubox/services/vhosts/certificates": { "admin/services/vhosts/certificates": {
"title": "SSL Certificates", "title": "SSL Certificates",
"order": 30, "order": 30,
"action": { "action": {
@ -41,7 +41,7 @@
"path": "vhost-manager/certificates" "path": "vhost-manager/certificates"
} }
}, },
"admin/secubox/services/vhosts/ssl": { "admin/services/vhosts/ssl": {
"title": "SSL/TLS Configuration", "title": "SSL/TLS Configuration",
"order": 35, "order": 35,
"action": { "action": {
@ -49,7 +49,7 @@
"path": "vhost-manager/ssl" "path": "vhost-manager/ssl"
} }
}, },
"admin/secubox/services/vhosts/redirects": { "admin/services/vhosts/redirects": {
"title": "URL Redirects", "title": "URL Redirects",
"order": 37, "order": 37,
"action": { "action": {
@ -57,7 +57,7 @@
"path": "vhost-manager/redirects" "path": "vhost-manager/redirects"
} }
}, },
"admin/secubox/services/vhosts/logs": { "admin/services/vhosts/logs": {
"title": "Access Logs", "title": "Access Logs",
"order": 40, "order": 40,
"action": { "action": {