Repository navigation
fix: keep read-only Control UI preferences browser-local - #120036
Merged
shakkernerd merged 10 commits intoAug 6, 2026
Merged
Conversation
shakkernerd
marked this pull request as ready for review
August 6, 2026 19:21
shakkernerd
force-pushed
the
workloop/make-read-only-control-ui-prefer-8f2903cd
branch
from
August 6, 2026 20:40
36a37ff to
8236827
Compare
shakkernerd
force-pushed
the
workloop/make-read-only-control-ui-prefer-8f2903cd
branch
from
August 6, 2026 20:45
8236827 to
db90dff
Compare
shakkernerd
deleted the
workloop/make-read-only-control-ui-prefer-8f2903cd
branch
August 6, 2026 20:45
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 7, 2026
This was referenced Oct 8, 2026
This was referenced Oct 22, 2026
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.
Fixes #120021
What Problem This Solves
Read-only Control UI operators could change personal preferences, but the central preference writer ignored the known
config.patchcapability state.It queued the change as server-bound, displayed pending or synchronized provenance, and attempted an admin-only
config.patch. The preference became browser-local only after the Gateway rejected the request.Why This Change Was Made
The preference lifecycle now:
config.patchwhen write capability is definitively unavailable.The shared policy covers all nine synchronized preferences: theme, theme mode, language, reasoning visibility, tool-call visibility, commentary persistence, send shortcut, follow-up mode, and sidebar entries.
Authorized and legacy clients retain server synchronization, explicit-null resets, cross-browser propagation, and validation-failure fallback. This does not change Gateway authorization, protocol, configuration schema, storage schema, or migrations.
User Impact
Read-only operators can personalize their browser without authorization errors or misleading sync claims. Their choices survive reloads, reset restores the applicable server value or product default, and offline changes remain available for a later writable connection.
Owner and administrator workflows continue syncing normally without additional steps.
Evidence
+571/-301(net+270)+723/-60config.patchframes.