Repository navigation
feat(dashboard-auth): add read-only guest access - #703
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2118ce37b1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
0ba2858 to
8550785
Compare
|
@Komzpa thanks for your review/update/small edit. I just updated from the latest main and fixed the conflicts. Is anything missing which may prevent this from shipping soon? |
70e6d58 to
04d1089
Compare
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: abcdb1b434
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c65408b45c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8798921cf3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9dab6e8f54
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Maintainer refresh (2026-06-04)
d9f30152ca0a134009331cc3869074f0e03af033to repair the current-head CI failures after rebasing ontomain.20260604_010000_merge_dashboard_guest_and_reauth_status_headsso the guest-access migration chain merges with20260604_000000_add_reauth_required_account_status.isEmailDuplicateflag for ID suffixes, matching the Accounts page behavior.uv run pytest tests/unit/test_db_migrate.py -qmake frontend-testcd frontend && bun run test -- src/features/settings/components/routing-settings.test.tsx src/features/settings/components/import-settings.test.tsx src/features/settings/components/session-settings.test.tsx src/features/settings/components/totp-settings.test.tsx src/features/dashboard/components/account-cards.test.tsxcd frontend && bun run lint && bun run typecheckpython .github/scripts/check_all_contributors.pyuv run ruff check app/db/alembic/versions/20260604_010000_merge_dashboard_guest_and_reauth_status_heads.py tests/unit/test_db_migrate.pyuv run ty check app/db/alembic/versions/20260604_010000_merge_dashboard_guest_and_reauth_status_heads.py tests/unit/test_db_migrate.pymake test-unitmake test-integration-coregit diff --checkSummary
Adds dashboard guest access for issue #673: operators can enable read-only dashboard access with either no guest password or a separate guest password. Internally this introduces role/permission primitives so the authorization model can grow toward multi-user access later.
This rebuilt branch also folds #844, so the shared auth surface covers both dashboard session/guest access and proxy API-key authentication with
x-api-keyfallback.Type of change
feat:- new user-facing feature or capabilityfix:- bug fix (no behavior change beyond the bug)refactor:- internal refactor (no behavior change, no API change)docs:- documentation onlychore:/ci:/build:- tooling, CI, packagingtest:- test-only changeLinked issue: Fixes #673
OpenSpec
Change directory:
openspec/changes/add-dashboard-guest-readonly/Additional auth change directory:
openspec/changes/support-x-api-key-auth/Folded PRs
mainb0e03f36fb224a18ff6d06e16f7e760befef610fChanges
admin/guestdashboard principals withread/writepermissions, stores role/permission metadata in dashboard session cookies, and centralizes write enforcement throughrequire_dashboard_write_access.guest_access_enabledand optionalguest_password_hashsettings plus guest login, guest password set, and guest password remove endpoints.x-api-keyfor proxy API key validation and self-service usage lookup, with Bearer-first precedence and ChatGPT caller-identity flows kept Bearer-only.Test plan
Local result: auth/quota planner integration tests passed; focused account API tests passed; ruff, frontend typecheck, frontend lint, and diff check passed for the rebase repair. GitHub CI is running for current head
b0e03f36fb224a18ff6d06e16f7e760befef610f.Screenshots / output (optional)
No screenshots attached.
Checklist
<type>(<scope>)?: <subject>).uv run ruff check .anduv run ruff format .(or pre-commit) locally for the touched backend paths.uv run pytestand all tests pass.openspec validate --specspasses and/opsx:verifyis clean.