From 328c48b4e615e8f3d6675a6e0eea10af00039627 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Tue, 13 Jan 2026 13:07:37 +0100 Subject: [PATCH] fix(luci-app-secubox): Add get_public_ips to ACL permissions The RPC method was returning "Access denied" because it was missing from the rpcd ACL configuration. Co-Authored-By: Claude Opus 4.5 --- luci-app-secubox/Makefile | 2 +- .../root/usr/share/rpcd/acl.d/luci-app-secubox.json | 3 ++- package/secubox/luci-app-secubox/Makefile | 2 +- .../root/usr/share/rpcd/acl.d/luci-app-secubox.json | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/luci-app-secubox/Makefile b/luci-app-secubox/Makefile index 2d20e3c3..fa2ec17d 100644 --- a/luci-app-secubox/Makefile +++ b/luci-app-secubox/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-secubox PKG_VERSION:=0.7.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=Apache-2.0 PKG_MAINTAINER:=CyberMind diff --git a/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json b/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json index 553e6800..e1e8de48 100644 --- a/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json +++ b/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json @@ -31,7 +31,8 @@ "validateProfile", "listSnapshots", "get_appstore_apps", - "get_appstore_app" + "get_appstore_app", + "get_public_ips" ], "uci": [ "get", diff --git a/package/secubox/luci-app-secubox/Makefile b/package/secubox/luci-app-secubox/Makefile index 2d20e3c3..fa2ec17d 100644 --- a/package/secubox/luci-app-secubox/Makefile +++ b/package/secubox/luci-app-secubox/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-secubox PKG_VERSION:=0.7.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=Apache-2.0 PKG_MAINTAINER:=CyberMind diff --git a/package/secubox/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json b/package/secubox/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json index 553e6800..e1e8de48 100644 --- a/package/secubox/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json +++ b/package/secubox/luci-app-secubox/root/usr/share/rpcd/acl.d/luci-app-secubox.json @@ -31,7 +31,8 @@ "validateProfile", "listSnapshots", "get_appstore_apps", - "get_appstore_app" + "get_appstore_app", + "get_public_ips" ], "uci": [ "get",