Skip to content

GH Issue 1930: Fix terms of use redirect loop in admin-only mode - #8394

Merged
labkey-adam merged 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_maintenance_terms_loop_1930
Nov 29, 2026
Merged

labkey-adam merged 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_maintenance_terms_loop_1930

Conversation

@labkey-adam

@labkey-adam labkey-adam commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

Fix the endless redirect loop that makes a server unreachable when mandatory site-wide terms of use are enabled while the server is in admin-only mode (GH Issue 1930). The maintenance page enforced terms of use while the terms page wasn't allowed during admin-only mode, so guests and non-admins bounced between the two with an ever-growing returnUrl until requests exceeded the header size limit. A regression test will follow on 26.11 once this merges forward, since that branch has the site settings API needed to toggle admin-only mode cleanly.

Related Pull Requests

Changes

  • Actions allowed during upgrade or admin-only mode now implicitly ignore terms of use, so terms are enforced only once the server is fully available

Actions allowed during upgrade now also skip terms of use enforcement, so the maintenance page no longer redirects to agreeToTerms.
@labkey-adam
labkey-adam merged commit 8b84fbd into release26.7-SNAPSHOT Nov 29, 2026
11 checks passed
@labkey-adam
labkey-adam deleted the 26.7_fb_maintenance_terms_loop_1930 branch November 29, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants