Fix #346: create/import owner binding #356
No reviewers
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 milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!356
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-346"
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?
Closes #346 (prerequisite #348 landed as
222e3f7; the admission helper is shaped for #347 reuse per the reuse contract on CheckCreateOwner).What
Creation/import owner admission: owner must equal the principal name or be an org the principal belongs to (any roster role — v1 member-may-create, documented); else 403 naming the allowed owners with nothing created. Host admins bypass (documented; auth-none anon carries Admin so zero-config preserved). Anonymous 401, probe errors 503.
Where enforced (all BEFORE any namespace write)
Admin override decision
Global host admins bypass (p.Admin short-circuit in the helper). Rationale: operators must be able to repair/squat-handle namespaces; all existing admin-path tests pass unchanged.
Out of scope (lands in #347)
SSH/HTTP push guardrails + auto-create-on-push reuse the same helper verbatim (reuse contract documented on CheckCreateOwner); 17_ssh.md untouched deliberately.
Tests