feat: edit UI configuration from the admin page - #574
Merged
Conversation
JeromeBu
force-pushed
the
admin-ui-config-in-db
branch
3 times, most recently
from
August 21, 2026 17:01
de9719c to
d865625
Compare
Move the UI configuration out of the static ui-config.json import into a config_ui singleton table, read per-request so it can be edited at runtime. Reads fall back to the bundled default (overridable by ConfigMap) until an admin saves, keeping the file live during migration. Adds an admin-only updateUiConfig mutation; the editing form will come in a later change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
JeromeBu
force-pushed
the
admin-ui-config-in-db
branch
from
August 21, 2026 18:29
d865625 to
53fe748
Compare
JeromeBu
force-pushed
the
admin-ui-config-in-db
branch
from
August 21, 2026 20:24
53fe748 to
80a30c2
Compare
JeromeBu
marked this pull request as ready for review
August 24, 2026 13:44
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.
Summary
Validation
Deployment notes
For an existing deployment, keep the legacy ui-config.json mount for the first startup on this version, verify the imported value, then remove the mount. For Helm, set customization.legacyUiConfigImportEnabled to false after the successful import. PostgreSQL is the only source of truth afterwards.
For a new deployment, configure OIDC and set CATALOGI_INITIAL_ADMIN_EMAIL to the intended first administrator. After that address has signed in successfully, the variable can be removed. Catalogi creates no local password or admin/admin account.
Deliberate scope
This PR does not add administrator role management in the UI. It keeps last-write-wins behavior for concurrent UI configuration edits and does not add configuration history.