Capture receiver authorizes delivery against the source's org #299

Closed
opened 2026-10-27 13:35:46 +00:00 by sam · 0 comments
Owner

Goal

Delivery to a source is authorized against the org that owns the source, not always the default org.

Evidence

internal/infrastructure/captureintake/receiver.go:155 calls AuthorizeDelivery(org.DefaultOrgID, path, addr).

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • The receiver resolves the source's org and passes it.
  • An object policy on a non-default org's source refuses an out-of-range sender (test in the capture/access seam).
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Closed


Imported from beads archie-core-kgxw.12 · GitHub #1318 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-08

## Goal Delivery to a source is authorized against the org that owns the source, not always the default org. ## Evidence internal/infrastructure/captureintake/receiver.go:155 calls AuthorizeDelivery(org.DefaultOrgID, path, addr). ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] The receiver resolves the source's org and passes it. - [ ] An object policy on a non-default org's source refuses an out-of-range sender (test in the capture/access seam). Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Closed --- _Imported from beads `archie-core-kgxw.12` · GitHub #1318 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-08_
sam added the mediumbug labels 2026-10-27 13:35:46 +00:00
sam self-assigned this 2026-10-27 13:35:46 +00:00
sam closed this issue 2026-10-27 13:35:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#299