From 66cbd00ceb385de0e1b6eae030380e0d3f1eae0a Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Wed, 14 Jan 2026 09:36:20 +0100 Subject: [PATCH] fix(secubox-portal): Add missing ACL file for dashboard access The 403 error was caused by missing ACL file. Added luci-app-secubox-portal.json with read permissions for luci.secubox and luci.system-hub ubus methods. Co-Authored-By: Claude Opus 4.5 --- .../secubox/luci-app-secubox-portal/Makefile | 2 +- .../rpcd/acl.d/luci-app-secubox-portal.json | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 package/secubox/luci-app-secubox-portal/root/usr/share/rpcd/acl.d/luci-app-secubox-portal.json diff --git a/package/secubox/luci-app-secubox-portal/Makefile b/package/secubox/luci-app-secubox-portal/Makefile index bedbc6cb..250f4b4c 100644 --- a/package/secubox/luci-app-secubox-portal/Makefile +++ b/package/secubox/luci-app-secubox-portal/Makefile @@ -10,7 +10,7 @@ LUCI_TITLE:=SecuBox Portal - Unified WebUI LUCI_DESCRIPTION:=Unified entry point for all SecuBox applications with tabbed navigation LUCI_DEPENDS:=+luci-base +luci-theme-secubox LUCI_PKGARCH:=all -PKG_VERSION:=1.0.1 +PKG_VERSION:=1.0.2 PKG_RELEASE:=1 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=SecuBox Team diff --git a/package/secubox/luci-app-secubox-portal/root/usr/share/rpcd/acl.d/luci-app-secubox-portal.json b/package/secubox/luci-app-secubox-portal/root/usr/share/rpcd/acl.d/luci-app-secubox-portal.json new file mode 100644 index 00000000..89cbb311 --- /dev/null +++ b/package/secubox/luci-app-secubox-portal/root/usr/share/rpcd/acl.d/luci-app-secubox-portal.json @@ -0,0 +1,26 @@ +{ + "luci-app-secubox-portal": { + "description": "SecuBox Portal - Unified WebUI Dashboard", + "read": { + "ubus": { + "luci.secubox": [ + "modules", + "getModules", + "modules_by_category", + "getModuleInfo", + "get_theme", + "getStatus", + "getHealth" + ], + "luci.system-hub": [ + "status", + "get_system_info", + "get_health", + "get_components", + "list_services" + ] + } + }, + "write": {} + } +}