Access tab: team dropdown for team-subject bindings #361
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#361
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Survey: crueber/walhub#349 candidate 4.
Evidence
Design
Acceptance criteria
PR #368 (branch fix/issue-361) implements the team-subject picker: team dropdown on org-owned repos composing team:org/slug, free-text fallback kept, client-side spelling validation with a friendly note, headless tests (web/test/unit/access-subject.test.js), vite build clean, no backend change, law-12 decision in docs/features/01_identity_permissions.md. Ready for review — not merging.
Review of PR #368 (fix/issue-361), verified in scratch worktree at
f27c6eb(incl. one review fix, pushed). No browser used — node tests + code reasoning only, per review scope.FINDINGS (file:line on the PR branch):
f27c6eb): headless shouldFetchTeams() in web/src/lib/access.js (email/empty owners skip — an identity.ValidOrg slug can never contain '@', so no false negatives), wired into the useData fetcher, unit + wiring-guard tests added, doc decision updated (law 12). Non-org owners now make zero requests; legacy-namespace 404 / 403 / empty still degrade to text-only.TESTS (scratch worktree): access-subject 13/13 pass; full node suite 716 tests — 713 pass, 3 fail, all 3 the pre-existing live-server smoke tests (SPA shell / hashed assets / repos.js — need a non-setup server; local :8080 answers 503 setup-only, same environmental cause disclosed in the PR). vite + esbuild builds clean (only the pre-existing chunk-size warning).
MERGE RECOMMENDATION: ready to merge.
Fixed by PR #368 (review clean + one fetch-scope fix by reviewer: teams list only for org owners; spelling/privacy/#278 verified), merged. Closing.