nginx-proxy-manager/backend/test/support
Tom Winnerl 4594529dfe fix(review): only users who may list every host type see all nginx errors, filter stored nginx output
canSeeAllHosts() accepted any user with visibility "all", so a user who
can't list proxy hosts (eg. a streams-only manager) got the full details
of a global error naming a proxy host, or no host at all. It now also
requires view or manage on proxy, redirection and dead hosts and
streams; admins still see everything.

buildOfflineMeta() stored the unfiltered nginx output in a host's
nginx_details, which the host's owner reads: it now keeps only the
lines about the host's own error, like the redacted error responses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:03:49 +01:00
..
backend.js fix(review): only users who may list every host type see all nginx errors, filter stored nginx output 2026-11-14 09:03:49 +01:00
config-hooks.js test(backend): certificate renew reloads nginx through the lock, error redaction 2026-11-11 13:48:58 +01:00
fake-config.js test(backend): certificate renew reloads nginx through the lock, error redaction 2026-11-11 13:48:58 +01:00