From 9e420dde8053197c72dc8b98b647d9b940c4449b Mon Sep 17 00:00:00 2001 From: Monviech <79600909+Monviech@users.noreply.github.com> Date: Tue, 1 Apr 2025 16:44:57 +0200 Subject: [PATCH] www/caddy: Fix ACL privileges. There is just a single ACL now that matches the whole plugin. (#4631) --- www/caddy/pkg-descr | 1 + .../mvc/app/models/OPNsense/Caddy/ACL/ACL.xml | 36 ++++--------------- 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/www/caddy/pkg-descr b/www/caddy/pkg-descr index d489a5da2..46c80403a 100644 --- a/www/caddy/pkg-descr +++ b/www/caddy/pkg-descr @@ -16,6 +16,7 @@ Plugin Changelog 1.8.5 * Add: basic_auth per handler (opnsense/plugins/issues/4619) +* Change: the ACL has been changed to "page-caddy" in "System: Access: Privileges". Privilege must be reassigned if used. (opnsense/plugins/issues/4623) 1.8.4 diff --git a/www/caddy/src/opnsense/mvc/app/models/OPNsense/Caddy/ACL/ACL.xml b/www/caddy/src/opnsense/mvc/app/models/OPNsense/Caddy/ACL/ACL.xml index 0aaba284c..dac86d7e1 100644 --- a/www/caddy/src/opnsense/mvc/app/models/OPNsense/Caddy/ACL/ACL.xml +++ b/www/caddy/src/opnsense/mvc/app/models/OPNsense/Caddy/ACL/ACL.xml @@ -1,34 +1,10 @@ - - Services: Caddy Web Server: General Settings - Allow access to Caddy General Settings + + Services: Caddy + Allow access to Caddy - ui/caddy/general/* - api/caddy/general/* + ui/caddy/* + api/caddy/* - - - Services: Caddy Web Server: Reverse Proxy - Allow access to Caddy Reverse Proxy - - ui/caddy/reverse_proxy/* - api/caddy/reverse_proxy/* - - - - Services: Caddy Web Server: Layer4 Proxy - Allow access to Caddy Layer4 Proxy - - ui/caddy/layer4/* - api/caddy/reverse_proxy/* - - - - Services: Caddy Web Server: Diagnostics - Allow access to Caddy Diagnostics - - ui/caddy/diagnostics/* - api/caddy/diagnostics/* - - +