Repository navigation
GH Issue 1930: Test site-wide terms of use in admin-only mode - #3322
Draft
labkey-adam wants to merge 1 commit into
Draft
labkey-adam wants to merge 1 commit into
labkey-adam wants to merge 1 commit into
Conversation
labkey-adam
added a commit
to LabKey/platform
that referenced
this pull request
Nov 29, 2026
## 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](LabKey/internal-issues#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 - LabKey/testAutomation#3322 ## 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
Add regression coverage for the redirect loop between the terms of use and maintenance pages when site-wide terms are required in admin-only mode (GH Issue 1930). This test fails until the 26.7 fix merges forward into 26.11.
Related Pull Requests
Changes