Fleet authorization inventory

For a maintainer or agent changing an admission, adding a route or reviewing a slice: this page is the fleet-wide census of who each route admits. The executable truth it mirrors is each handler’s principal.admit(&…) and the Admission it names — a row of crates/canopy-auth/src/delegated.rs or a constant beside the handler — and canopy-web’s SCOPE_POLICY / READ_SCOPE_POLICY in xtask/src/cmd/route_authz.rs. The auditor’s summary is RBAC Matrix; tokens and receivers are Security and ADR-049.

Five table families:

  • Route admissions — one row per registered route of each receiving service: the handler, the admission it names with its arms, and the checks and attribution inside the handler.

  • canopy-web — the BFF’s write and read authorization model; its census is SCOPE_POLICY / READ_SCOPE_POLICY, so this page records the model, not the rows.

  • Compiled call graph — one row per edge of the call graph canopy compiles (ADR-049 §4), generated from the code and gated against it and against the peer settings.

  • Delegated routes (canopy-identity) — one row per named admission in canopy_auth::delegated, generated from the code and gated against it and against each service’s router.

  • Caller manifest — every client’s calls: which targets it calls on a user’s request and which on its own system token, and where the bearer comes from.

How to read an Admission cell: the constant the handler admits with (delegated::NAME, a handler constant, or inline for an Admission written in the call), then its arms joined by ;:

  • system — any confidential client’s system token but the portal’s; system: canopy-x — only those clients';

  • portal (scope) — the portal’s system token holding that scope;

  • a bar alone — a user’s delegation, through any client, holding one of the bar’s roles;

  • a bar via clients — a user’s delegation only when its current actor is one of them: canopy-web, canopy-cli, or a service delegating onward inside the worker’s request.

The bars are crates/canopy-auth/src/roles.rs's: writer = CASEWORKER_WRITER_ROLES, caseworker+ = CASEWORKER_OR_ABOVE_ROLES, case reader = CASE_READER_ROLES, worker reader = WORKER_READER_ROLES, supervisor view = SUPERVISOR_VIEW_ROLES, audit reader = AUDIT_READER_ROLES, determination operator = DETERMINATION_OPERATOR_ROLES, citation render = CITATION_RENDER_ROLES; a literal set is its roles. A write admission names the writer bar or a narrower set, never quality_control (the static census is crates/canopy-test-lib/tests/qc_write_gate_sweep_test.rs, which reads each write route’s admitted constant).

To recompute: re-read each handler’s principal.admit(&…) and the constant’s definition. When a route is added, add its row here; a route whose admission is a canopy_auth::delegated row also regenerates that table (cargo xtask delegated-routes doc).

Route admissions

Every service’s /v1 sits behind its identity receiver (crates/canopy-auth/src/identity_receiver/), which refuses before any handler runs: 401 token_missing or token_rejected, 400 actor_header_retired, 503 keys_unavailable, and 403 for an X-Canopy-Applicant claim from anyone but the portal. A caller the admission refuses is 403 with its ReceiverDenial code (identity_receiver/denial.rs; RBAC Matrix › How a route admits its caller); the portal’s ownership checks (principal.require_owned_*) answer 403 ownership_claim_missing or ownership_mismatch.

Attribution. A handler that records who acted reads it from the bearer: principal.actor() is a user’s canopy subject (Human) or a system caller’s client id (Service, ADR-049 Amendment 3), and principal.attribution_sub() the same as a string. A service’s own background work records its own service name. A body field naming an actor is a label, never identity.

The overpayment routes of canopy-snap, canopy-tanf and canopy-medicaid are shared code (crates/canopy-overpayments/src/api.rs, over each service’s own database); the list’s admission is the mounting service’s delegated row, layered as ListAdmission, and the other routes' its ClaimAdmissions (canopy-snap and canopy-medicaid ANY_SYSTEM, canopy-tanf its own READER / WRITER), and canopy-snap mounts its own POST /v1/overpayments (src/api/overpayments_handler.rs). POST /v1/admin/events/replay is canopy-api’s (crates/canopy-api/src/admin.rs), mounted by canopy-enrollment, canopy-medicaid, canopy-notices, canopy-security, canopy-snap and canopy-tanf.

canopy-appeals

No client holds a system edge to canopy-appeals, so no route has a system arm. The filing, the decision and the IPV referral admit a writer through any client; the reads canopy-web’s pages call, its readers; every other route canopy-cli’s operators by its effect (OPERATOR_READ, OPERATOR_WRITE, OPERATION). Timeline rows and the IPV case’s referred_by record principal.actor(); the body’s actor strings (decision_actor, withdrawal_actor, requested_by, the enrollment command label) are labels, not identity.

Route Handler Admission Notes

GET /v1/appeals

src/api/reads.rs (list_appeals)

delegated::APPEALS_GET_APPEALS: worker reader via canopy-web

POST /v1/appeals

src/api/filing.rs (file_appeal)

WORKER_WRITE: writer

records principal.actor()

GET /v1/appeals/hearings/upcoming

src/api/reads.rs (upcoming_hearings)

delegated::APPEALS_GET_APPEALS_HEARINGS_UPCOMING: supervisor view via canopy-web

GET /v1/appeals/queue

src/api/reads.rs (appeals_queue)

delegated::APPEALS_GET_APPEALS_QUEUE: worker reader via canopy-web

GET /v1/appeals/{id}

src/api/reads.rs (get_appeal)

delegated::APPEALS_GET_APPEALS_ID: writer via canopy-web

PUT /v1/appeals/{id}/decision

src/api/decision.rs (record_decision)

WORKER_WRITE: writer

records principal.actor()

PUT /v1/appeals/{id}/final-appeal

src/api/final_appeal.rs (record_final_appeal)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/appeals/{id}/final-decision

src/api/final_appeal_decision.rs (record_final_appeal_decision)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

GET /v1/appeals/{id}/hearing-view

src/api/reads.rs (get_appeal_hearing_view)

OPERATOR_READ: caseworker+ via canopy-cli

POST /v1/appeals/{id}/postponements

src/api/postponement.rs (record_postponement)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/appeals/{id}/schedule

src/api/decision.rs (schedule_hearing)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/appeals/{id}/withdraw

src/api/withdrawal.rs (withdraw_appeal)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/appeals/{id}/withdraw/confirm

src/api/withdrawal.rs (confirm_withdrawal)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/appeals/{id}/withdraw/finalize

src/api/withdrawal_finalize.rs (finalize_withdrawal)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/appeals/{id}/withdraw/reinstate

src/api/withdrawal.rs (reinstate_appeal)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

POST /v1/internal/appeals/clock-check

src/api/operations.rs (trigger_clock_check)

OPERATION: admin via canopy-cli

POST /v1/internal/appeals/reconcile

src/api/operations.rs (trigger_reconcile)

OPERATION: admin via canopy-cli

GET /v1/ipv/cases

src/ipv/api.rs (list_cases)

OPERATOR_READ: caseworker+ via canopy-cli

POST /v1/ipv/cases

src/ipv/api.rs (create_referral)

WORKER_WRITE: writer

records principal.actor()

GET /v1/ipv/cases/{id}

src/ipv/api.rs (get_case)

OPERATOR_READ: caseworker+ via canopy-cli

PUT /v1/ipv/cases/{id}/impose-disqualification

src/ipv/api.rs (impose_disqualification)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/ipv/cases/{id}/record-decision

src/ipv/api.rs (record_decision)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/ipv/cases/{id}/schedule-adh

src/ipv/api.rs (schedule_adh)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/ipv/cases/{id}/send-notice

src/ipv/api.rs (send_notice)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/ipv/cases/{id}/waiver

src/ipv/api.rs (record_waiver)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

PUT /v1/ipv/cases/{id}/withdraw

src/ipv/api.rs (withdraw_case)

OPERATOR_WRITE: writer via canopy-cli

records principal.actor()

GET /v1/ipv/disqualifications/active

src/ipv/api.rs (check_active_disqualification)

OPERATOR_READ: caseworker+ via canopy-cli

canopy-applications

System callers are canopy-eligibility, canopy-appeals, canopy-notices, canopy-reporting and canopy-verification, and the portal on its intake, credential, recovery, application-read, document and ELE-consent routes. The supervisor or admin routes are personal acts: their helpers read the delegation’s subject and refuse a system caller.

Route Handler Admission Notes

GET /v1/administrative-denials/{id}

src/api/administrative_denials.rs (get_administrative_denial)

delegated::APPLICATIONS_GET_ADMINISTRATIVE_DENIALS_ID: system; caseworker+; worker reader via canopy-web, canopy-appeals

POST /v1/applicants/drafts

src/api/drafts.rs (create_draft)

PORTAL_INTAKE: portal (portal:intake)

POST /v1/applicants/drafts/reap

src/api/drafts.rs (reap_drafts)

SYSTEM: system

GET /v1/applicants/drafts/{id}

src/api/drafts.rs (get_draft)

PORTAL_INTAKE: portal (portal:intake)

portal: require_owned_application

PATCH /v1/applicants/drafts/{id}

src/api/drafts.rs (patch_draft)

PORTAL_INTAKE: portal (portal:intake)

portal: require_owned_application

POST /v1/applicants/drafts/{id}/finalize

src/api/finalize.rs (finalize_draft)

PORTAL_INTAKE: portal (portal:intake)

portal: require_owned_application; finalize_actor: records the portal, and refuses any other caller

POST /v1/applicants/recover/initiate

src/api/recovery.rs (recover_initiate)

inline: portal (portal:intake)

POST /v1/applicants/recover/kill/{token}

src/api/recovery.rs (recover_kill)

inline: portal (portal:intake)

GET /v1/applicants/recover/{recovery_id}

src/api/recovery.rs (recover_get)

SYSTEM: system

POST /v1/applicants/verify-credential

src/api/drafts.rs (verify_credential)

PORTAL_INTAKE: portal (portal:intake)

GET /v1/applications

src/api/reads.rs (list_applications)

delegated::APPLICATIONS_GET_APPLICATIONS: system; worker reader via canopy-web, canopy-cli

POST /v1/applications

src/api/filing.rs (create_application)

delegated::APPLICATIONS_POST_APPLICATIONS: system; writer via canopy-web, canopy-cli

GET /v1/applications/caseload-trend

src/api/reads.rs (get_caseload_trend)

delegated::APPLICATIONS_GET_APPLICATIONS_CASELOAD_TREND: system; caseworker+ via canopy-cli

GET /v1/applications/day30-shadow-findings

src/api/scheduler.rs (list_day30_shadow_findings)

delegated::APPLICATIONS_GET_APPLICATIONS_DAY30_SHADOW_FINDINGS: system; supervisor or admin via canopy-web

POST /v1/applications/scheduler/run

src/api/scheduler.rs (run_scheduler)

inline: system; supervisor or admin

DELETE /v1/applications/{id}

src/api/update.rs (withdraw_application)

delegated::APPLICATIONS_DELETE_APPLICATIONS_ID: system; writer via canopy-cli

GET /v1/applications/{id}

src/api/reads.rs (get_application)

delegated::APPLICATIONS_GET_APPLICATIONS_ID: system; portal (portal:applications:read); worker reader via canopy-web, canopy-cli, canopy-eligibility, canopy-verification

portal: require_owned_application

PUT /v1/applications/{id}

src/api/update.rs (update_application)

SYSTEM: system

GET /v1/applications/{id}/agency-pends

src/api/agency_pends.rs (list_agency_pends)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_AGENCY_PENDS: system; caseworker+; worker reader via canopy-web

GET /v1/applications/{id}/determination-context

src/api/determination_context.rs (get_determination_context)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_DETERMINATION_CONTEXT: system; writer via canopy-eligibility

admits only canopy-eligibility by principal.client(), its system token or onward delegation; else 403

GET /v1/applications/{id}/documents

src/api/documents.rs (list_documents)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_DOCUMENTS: system; portal (portal:applications:read); case reader via canopy-web

portal: require_owned_application

POST /v1/applications/{id}/documents

src/api/documents.rs (upload_document)

UPLOAD: system; portal (portal:documents:write)

portal: require_owned_application; portal: require_owned_person

POST /v1/applications/{id}/documents/{document_id}/accept

src/api/documents.rs (accept_document)

WRITER: system; writer

reviewer_subject: records the delegation’s subject; a system caller is 403

GET /v1/applications/{id}/documents/{document_id}/content

src/api/documents.rs (get_document_content)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_DOCUMENTS_DOCUMENT_ID_CONTENT: system; worker reader via canopy-web

POST /v1/applications/{id}/documents/{document_id}/reject

src/api/documents.rs (reject_document)

WRITER: system; writer

reviewer_subject: records the delegation’s subject; a system caller is 403

POST /v1/applications/{id}/documents/{document_id}/rescan

src/api/documents_scan.rs (rescan_document)

delegated::APPLICATIONS_POST_APPLICATIONS_ID_DOCUMENTS_DOCUMENT_ID_RESCAN: system; supervisor or admin via canopy-cli

POST /v1/applications/{id}/documents/{document_id}/scan-override

src/api/documents_scan.rs (scan_override_document)

inline: system; supervisor or admin

releasing_supervisor: the delegation’s subject, holding supervisor or admin; a system caller is 403

POST /v1/applications/{id}/ele-consent

src/api/ele_consent.rs (record_ele_consent)

ELE_CONSENT: system; portal (portal:intake); writer

records principal.actor()

POST /v1/applications/{id}/interview/complete

src/api/interview_completion.rs (complete_interview)

WRITER: system; writer

records principal.actor()

POST /v1/applications/{id}/interview/reschedule

src/api/interviews.rs (reschedule_interview)

WRITER: system; writer

records principal.actor()

POST /v1/applications/{id}/interview/schedule

src/api/interviews.rs (schedule_interview)

WRITER: system; writer

records principal.actor()

POST /v1/applications/{id}/interview/waive

src/api/interview_completion.rs (waive_interview)

delegated::APPLICATIONS_POST_APPLICATIONS_ID_INTERVIEW_WAIVE: system; writer via canopy-cli

GET /v1/applications/{id}/interviews

src/api/interviews.rs (list_interviews)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_INTERVIEWS: system; caseworker+; worker reader via canopy-web

GET /v1/applications/{id}/interviews/{interview_id}

src/api/interviews.rs (get_interview)

READER: system; caseworker+

POST /v1/applications/{id}/programs/snap/postpone

src/api/postponement.rs (postpone_snap)

WRITER: system; writer

records principal.actor()

GET /v1/applications/{id}/programs/snap/postponement

src/api/postponement_reads.rs (get_snap_postponement)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_PROGRAMS_SNAP_POSTPONEMENT: system; caseworker+; worker reader via canopy-web

POST /v1/applications/{id}/programs/snap/postponement/complete

src/api/postponement.rs (complete_snap_postponement)

WRITER: system; writer

POST /v1/applications/{id}/programs/snap/postponement/resume

src/api/postponement_revert.rs (resume_postponement_saga)

WRITER: system; writer

POST /v1/applications/{id}/programs/snap/postponement/revert

src/api/postponement_revert.rs (revert_snap_postponement)

inline: system; supervisor or admin

supervisor_actor: a supervisor’s own act; a system caller is 403

POST /v1/applications/{id}/programs/snap/reopen

src/api/reopen.rs (reopen_snap)

WRITER: system; writer

records principal.actor()

POST /v1/applications/{id}/programs/snap/reopen-attestations

src/api/reopen.rs (create_reopen_attestation)

inline: system; supervisor or admin

acting_worker: a system caller is 403

GET /v1/applications/{id}/programs/snap/reopen/eligibility

src/api/reopen_reads.rs (reopen_eligibility)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_PROGRAMS_SNAP_REOPEN_ELIGIBILITY: system; caseworker+; worker reader via canopy-web

GET /v1/applications/{id}/programs/snap/reopen/episodes

src/api/reopen_reads.rs (list_reopen_episodes)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_PROGRAMS_SNAP_REOPEN_EPISODES: system; caseworker+; worker reader via canopy-web

POST /v1/applications/{id}/programs/snap/reopen/resume

src/api/reopen_resume.rs (resume_reopen_saga)

WRITER: system; writer

POST /v1/applications/{id}/programs/{program}/administrative-denial

src/api/administrative_denials.rs (record_administrative_denial)

WRITER: system; writer

records principal.actor()

POST /v1/applications/{id}/programs/{program}/complete-data-collection

src/api/sections.rs (complete_data_collection)

WRITER: system; writer

GET /v1/applications/{id}/sections

src/api/sections.rs (list_sections)

delegated::APPLICATIONS_GET_APPLICATIONS_ID_SECTIONS: system; caseworker+; worker reader via canopy-web

PUT /v1/applications/{id}/sections/{program}/{section}

src/api/sections.rs (upsert_section)

WRITER: system; writer

records principal.actor()

GET /v1/applications/{id}/sms-contact

src/api/interviews.rs (get_sms_contact)

SYSTEM: system

POST /v1/applications:batchGet

src/api/reads.rs (batch_get_applications)

SYSTEM: system

GET /v1/assignments

src/api/assignments.rs (list_assignments_by_worker)

SYSTEM: system

POST /v1/assignments

src/api/assignments.rs (create_assignment)

SYSTEM: system

GET /v1/assignments/household-ids

src/api/assignments.rs (list_assignment_household_ids)

delegated::APPLICATIONS_GET_ASSIGNMENTS_HOUSEHOLD_IDS: system; caseworker+ via canopy-eligibility, canopy-verification

may_read_assignments_of: a user reads its own subject’s assignments unless supervisor or admin; a system caller any subject’s

DELETE /v1/assignments/{id}

src/api/assignments.rs (delete_assignment)

SYSTEM: system

DELETE /v1/authorized-representatives/{id}

src/api/authorized_reps.rs (delete_rep)

WRITER: system; writer

GET /v1/authorized-representatives/{id}

src/api/authorized_reps.rs (get_rep)

READER: system; caseworker+

PUT /v1/authorized-representatives/{id}

src/api/authorized_reps.rs (update_rep)

WRITER: system; writer

POST /v1/authorized-representatives/{id}/disqualify

src/api/rep_disqualifications.rs (disqualify_representative)

inline: system; supervisor or admin

disqualifying_supervisor: human-only

GET /v1/households/{household_id}/assignments

src/api/assignments.rs (list_assignments_by_household)

delegated::APPLICATIONS_GET_HOUSEHOLDS_HOUSEHOLD_ID_ASSIGNMENTS: system; caseworker+ via canopy-web, canopy-enrollment

GET /v1/households/{household_id}/authorized-representatives

src/api/authorized_reps.rs (list_reps_by_household)

delegated::APPLICATIONS_GET_HOUSEHOLDS_HOUSEHOLD_ID_AUTHORIZED_REPRESENTATIVES: system; caseworker+; worker reader via canopy-web

POST /v1/households/{household_id}/authorized-representatives

src/api/authorized_reps.rs (create_rep)

WRITER: system; writer

GET /v1/persons/{person_id}/rep-disqualifications

src/api/rep_disqualifications.rs (list_person_rep_disqualifications)

delegated::APPLICATIONS_GET_PERSONS_PERSON_ID_REP_DISQUALIFICATIONS: system; caseworker+; worker reader via canopy-web

GET /v1/rep-disqualifications/{id}

src/api/rep_disqualifications.rs (get_rep_disqualification)

READER: system; caseworker+

POST /v1/rep-disqualifications/{id}/cancel

src/api/rep_disqualifications.rs (cancel_rep_disqualification)

delegated::APPLICATIONS_POST_REP_DISQUALIFICATIONS_ID_CANCEL: system; supervisor or admin; writer via canopy-appeals

records principal.actor(); may_cancel_for: a writer through canopy-appeals cancels only for hearing_overturned

canopy-caps

System callers are canopy-reporting’s edge; canopy-eligibility reaches the determine route by onward delegation. The provider registry is system-only but for its by-id read.

Route Handler Admission Notes

GET /v1/asset-certifications

src/api/handlers/asset_certification.rs (list_asset_certifications)

delegated::CAPS_GET_ASSET_CERTIFICATIONS: system; caseworker+; case reader via canopy-web

the authorization tab's family asset certification (#3546)

POST /v1/asset-certifications

src/api/handlers/asset_certification.rs (create_asset_certification)

WRITER: system; writer

recorder_subject: refuses a system caller 403 service_class_on_user_only; records the worker’s subject (#3546)

POST /v1/authorizations/active:batchGet

src/api/handlers.rs (batch_get_active_authorizations)

inline: system

GET /v1/authorizations/{id}

src/api/handlers.rs (get_authorization)

READER: system; caseworker+

PUT /v1/authorizations/{id}

src/api/handlers.rs (update_authorization)

WRITER: system; writer

PUT /v1/authorizations/{id}/provider

src/api/handlers.rs (switch_provider)

WRITER: system; writer

GET /v1/authorizations/{id}/notes

src/api/handlers.rs (list_authorization_notes)

delegated::CAPS_GET_AUTHORIZATIONS_ID_NOTES: system; caseworker+; case reader via canopy-web

GET /v1/child-care-needs

src/api/handlers/care_need.rs (list_child_care_needs)

delegated::CAPS_GET_CHILD_CARE_NEEDS: system; caseworker+; case reader via canopy-web

the authorization tab's child care needs (#3184)

POST /v1/child-care-needs

src/api/handlers/care_need.rs (create_child_care_need)

WRITER: system; writer

recorder_subject: refuses a system caller 403 service_class_on_user_only; records the worker’s subject (#3182)

GET /v1/determinations

src/api/handlers.rs (list_determinations)

delegated::CAPS_GET_DETERMINATIONS: system; caseworker+; case reader via canopy-web

GET /v1/determinations/{id}

src/api/handlers.rs (get_determination)

READER: system; caseworker+

GET /v1/determinations/{id}/authorizations

src/api/handlers.rs (list_authorizations_for_determination)

delegated::CAPS_GET_DETERMINATIONS_ID_AUTHORIZATIONS: system; caseworker+; case reader via canopy-web

POST /v1/determinations/{id}/redact

src/api/handlers.rs (post_redact_determination)

inline: data_steward

records attribution_sub()

GET /v1/determinations/{id}/snapshot

src/api/snapshot.rs (get_determination_snapshot)

delegated::CAPS_GET_DETERMINATIONS_ID_SNAPSHOT: system; admin or quality_control; caseworker+ via canopy-eligibility

canopy-snap's snapshot admission (#3427)

POST /v1/determine

src/api/handlers.rs (post_determine)

WRITER: system; writer

GET /v1/held-determinations

src/api/held.rs (list_held_determinations)

delegated::CAPS_GET_HELD_DETERMINATIONS: determination operator via canopy-eligibility

no system or direct-user arm (#3065)

GET /v1/parent-activities

src/api/handlers/parent_activity.rs (list_parent_activities)

delegated::CAPS_GET_PARENT_ACTIVITIES: system; caseworker+; case reader via canopy-web

the authorization tab's parent standings (#3184)

POST /v1/parent-activities

src/api/handlers/parent_activity.rs (create_parent_activity)

WRITER: system; writer

recorder_subject: refuses a system caller 403 service_class_on_user_only; records the worker’s subject (#3182)

GET /v1/providers

src/api/providers.rs (list_providers)

inline: system

POST /v1/providers

src/api/providers.rs (create_provider)

inline: system

DELETE /v1/providers/{id}

src/api/providers.rs (delete_provider)

inline: system

GET /v1/providers/{id}

src/api/providers.rs (get_provider)

delegated::CAPS_GET_PROVIDERS_ID: system; case reader via canopy-web

PUT /v1/providers/{id}

src/api/providers.rs (update_provider)

inline: system

canopy-eligibility

System callers are canopy-applications, canopy-renewals and canopy-eligibility itself; the portal reads determinations. The bulk-run writes and the quarantine routes are user-only, and so are the scoped and all-workers alert feeds.

Route Handler Admission Notes

GET /v1/eligibility/bulk-runs

src/api/bulk_runs_read.rs (list_bulk_runs)

READER (src/api/bulk_runs_support.rs): system; supervisor or admin

POST /v1/eligibility/bulk-runs

src/api/bulk_runs.rs (create_bulk_run)

ADMIN: admin

records attribution_sub()

GET /v1/eligibility/bulk-runs/{id}

src/api/bulk_runs_read.rs (get_bulk_run)

READER (src/api/bulk_runs_support.rs): system; supervisor or admin

GET /v1/eligibility/bulk-runs/{id}/actions

src/api/bulk_runs_read.rs (list_bulk_run_actions)

READER (src/api/bulk_runs_support.rs): system; supervisor or admin

POST /v1/eligibility/bulk-runs/{id}/cancel

src/api/bulk_runs.rs (cancel_bulk_run)

ADMIN: admin

records attribution_sub()

POST /v1/eligibility/bulk-runs/{id}/enact

src/api/bulk_runs.rs (enact_bulk_run)

ADMIN: admin

records attribution_sub()

GET /v1/eligibility/bulk-runs/{id}/failures

src/api/bulk_runs_read.rs (list_bulk_run_failures)

READER (src/api/bulk_runs_support.rs): system; supervisor or admin

POST /v1/eligibility/bulk-runs/{id}/pause

src/api/bulk_runs.rs (pause_bulk_run)

SUPERVISOR: supervisor or admin

POST /v1/eligibility/bulk-runs/{id}/resume

src/api/bulk_runs.rs (resume_bulk_run)

SUPERVISOR: supervisor or admin

POST /v1/eligibility/bulk-runs/{id}/retry-failures

src/api/bulk_runs.rs (retry_bulk_run_failures)

ADMIN: admin

GET /v1/eligibility/case-status

src/api/handlers/reads.rs (get_case_status)

delegated::ELIGIBILITY_GET_ELIGIBILITY_CASE_STATUS: system; caseworker+; worker reader via canopy-web

GET /v1/eligibility/cross-program-alerts/all

src/api/handlers/alerts.rs (list_cross_program_alerts_all)

delegated::ELIGIBILITY_GET_ELIGIBILITY_CROSS_PROGRAM_ALERTS_ALL: supervisor or admin; supervisor or admin or studio_admin via canopy-web

the access event names attribution_sub()

GET /v1/eligibility/cross-program-alerts/scoped

src/api/handlers/alerts.rs (scoped_cross_program_alerts)

SCOPED_FEED: caseworker+

resolve_effective_worker: a caseworker-tier user reads its own scope; supervisor or admin name the subject; the access event names attribution_sub()

GET /v1/eligibility/determinations

src/api/handlers/reads.rs (list_determinations_by_household)

delegated::ELIGIBILITY_GET_ELIGIBILITY_DETERMINATIONS: system; portal (portal:determinations:read); caseworker+; worker reader via canopy-web

portal: require_owned_household

POST /v1/eligibility/determine

src/api/handlers.rs (post_determine)

WRITER: system; writer — and SELF_CALL, system: canopy-eligibility, for a bulk or order marker

enforce_order_marker: an order marker only from canopy-eligibility’s self-call, never with the bulk marker

POST /v1/eligibility/determine/dry-run

src/api/handlers.rs (post_determine_dry_run)

READER: system; caseworker+

GET /v1/eligibility/quarantined-determinations

src/api/quarantine.rs (list_quarantined_determinations)

OPERATOR: determination operator

GET /v1/eligibility/households/{household_id}/quarantined-determinations/count

src/api/quarantine.rs (count_household_quarantined)

delegated::ELIGIBILITY_GET_ELIGIBILITY_HOUSEHOLDS_HOUSEHOLD_ID_QUARANTINED_DETERMINATIONS_COUNT: case reader via canopy-web

counts only the delegation’s programs

GET /v1/eligibility/quarantined-determinations/{id}

src/api/quarantine.rs (get_quarantined_determination)

OPERATOR: determination operator

POST /v1/eligibility/quarantined-determinations/{id}/resolutions

src/api/quarantine.rs (resolve_quarantined_determination)

OPERATOR: determination operator

records attribution_sub() and the highest operator role held (operator_basis)

GET /v1/eligibility/held-determinations

src/api/held.rs (list_held_determinations)

OPERATOR: determination operator

reads the program’s held list with the operator’s onward delegation (delegated::<SVC>_GET_HELD_DETERMINATIONS, #3065)

POST /v1/eligibility/held-determinations/{determination_id}/drops

src/api/held.rs (drop_held_determination)

OPERATOR: determination operator

looks the hold up with the operator’s onward delegation; records attribution_sub(), operator_basis and the bearer’s Actor as resolved_by (#3065)

POST /v1/eligibility/determination-operations/{operation_id}/adoptions

src/api/held.rs (adopt_held_determinations)

OPERATOR: determination operator

reads the operation’s envelopes with canopy-eligibility’s own system token on the program services' existing operation reads, never the operator’s delegation; records attribution_sub(), operator_basis and the bearer’s Actor as resolved_by (#3065)

GET /v1/eligibility/requests/{id}

src/api/handlers/reads.rs (get_request)

READER: system; caseworker+

GET /v1/eligibility/requests/{id}/determinations

src/api/handlers/reads.rs (get_request_determinations)

READER: system; caseworker+

GET /v1/eligibility/results/{application_id}

src/api/handlers/reads.rs (get_result)

READER: system; caseworker+

canopy-enrollment

System callers are canopy-appeals, canopy-eligibility, canopy-renewals, canopy-reporting, canopy-snap and the portal (the annual summary). The four household-scoped reads add the household-assignment gate for a user.

Route Handler Admission Notes

POST /v1/admin/events/replay

crates/canopy-api/src/admin.rs (admin_replay_handler)

ADMIN_HUMAN: admin

mounted by AdminRoutes::with_replay

GET /v1/adverse-actions

src/api/adverse_actions.rs (list_adverse_actions)

delegated::ENROLLMENT_GET_ADVERSE_ACTIONS: system; case reader via canopy-web

POST /v1/adverse-actions

src/api/adverse_actions.rs (schedule_adverse_action)

WRITER: system; writer

POST /v1/adverse-actions/enact-sweep

src/api/enact_sweep.rs (trigger_enact_sweep)

inline: system

GET /v1/adverse-actions/{id}

src/api/adverse_actions.rs (get_adverse_action)

delegated::ENROLLMENT_GET_ADVERSE_ACTIONS_ID: system; writer via canopy-web, canopy-appeals

POST /v1/adverse-actions/{id}/cancel

src/api/adverse_actions.rs (cancel_adverse_action)

WRITER: system; writer

records attribution_sub()

POST /v1/adverse-actions/{id}/reopen

src/api/reopen.rs (reopen_adverse_action)

inline: system

records attribution_sub()

GET /v1/adverse-actions/{id}/stays/{appeal_id}

src/api/adverse_actions.rs (get_appeal_stay)

inline: system

PUT /v1/adverse-actions/{id}/stays/{appeal_id}

src/api/adverse_actions.rs (stay_adverse_action)

delegated::ENROLLMENT_PUT_ADVERSE_ACTIONS_ID_STAYS_APPEAL_ID: system; writer via canopy-appeals

records attribution_sub()

GET /v1/enrollments

src/api/enrollments.rs (list_enrollments)

delegated::ENROLLMENT_GET_ENROLLMENTS: system; case reader via canopy-web

POST /v1/enrollments

src/api/enrollments.rs (create_enrollment)

delegated::ENROLLMENT_POST_ENROLLMENTS: system; writer via canopy-web

POST /v1/enrollments/expiry-sweep/run

src/api/expiry_sweep.rs (trigger_expiry_sweep)

inline: system

GET /v1/enrollments/live

src/api/enrollments.rs (get_live_enrollment)

delegated::ENROLLMENT_GET_ENROLLMENTS_LIVE: system; writer via canopy-eligibility, canopy-snap

GET /v1/enrollments/successors

src/api/successors.rs (list_successors)

inline: system; caseworker+

gate_household_actor_access: a user must be supervisor or admin or assigned to the household, asked on the user’s delegation; audited

GET /v1/enrollments/{id}

src/api/enrollments.rs (get_enrollment)

inline: system

GET /v1/enrollments/{id}/continuations

src/api/continuations.rs (list_continuations)

inline: system; caseworker+

gate_household_actor_access: a user must be supervisor or admin or assigned to the household, asked on the user’s delegation; audited

GET /v1/enrollments/{id}/issuances

src/api/issue.rs (list_issuances)

delegated::ENROLLMENT_GET_ENROLLMENTS_ID_ISSUANCES: system; case reader via canopy-web

POST /v1/enrollments/{id}/issue

src/api/issue.rs (issue_benefits)

delegated::ENROLLMENT_POST_ENROLLMENTS_ID_ISSUE: system; writer via canopy-web

POST /v1/enrollments/{id}/terminate

src/api/termination.rs (terminate_enrollment)

inline: system

POST /v1/households/enrollments:batchGet

src/api/household_reads.rs (batch_get_household_enrollments)

delegated::ENROLLMENT_POST_HOUSEHOLDS_ENROLLMENTS_BATCH_GET: system; worker reader via canopy-web

POST /v1/households/issuances:batchGet

src/api/household_reads.rs (batch_get_household_issuances)

inline: system

GET /v1/households/{household_id}/annual-summary

src/api/household_reads.rs (get_household_annual_summary)

inline: system; portal (portal:enrollment:read); caseworker+

portal: require_owned_household; gate_household_actor_access: a user must be supervisor or admin or assigned to the household, asked on the user’s delegation; audited

GET /v1/households/{household_id}/issuances

src/api/household_reads.rs (list_issuances_for_household)

inline: system; caseworker+

gate_household_actor_access: a user must be supervisor or admin or assigned to the household, asked on the user’s delegation; audited

canopy-medicaid

System callers are canopy-eligibility and canopy-reporting. The FTI access-log reads admit fti_auditor alone, the ELE ops routes admin or quality_control.

Route Handler Admission Notes

POST /v1/admin/events/replay

crates/canopy-api/src/admin.rs (admin_replay_handler)

ADMIN_HUMAN: admin

mounted by AdminRoutes::with_replay

GET /v1/applications/{id}/categories

src/api/handlers/determinations.rs (get_eligible_categories)

delegated::MEDICAID_GET_APPLICATIONS_ID_CATEGORIES: system; caseworker+; case reader via canopy-web

GET /v1/cmd/escalations

src/api/cmd_handlers.rs (list_cmd_escalations)

delegated::MEDICAID_GET_CMD_ESCALATIONS: system; caseworker+; case reader via canopy-web

GET /v1/cmd/events

src/api/cmd_handlers.rs (list_cmd_events)

delegated::MEDICAID_GET_CMD_EVENTS: system; caseworker+; case reader via canopy-web

POST /v1/cmd/ingest

src/api/cmd_handlers.rs (ingest_cmd_update)

WRITER: system; writer

records attribution_sub()

GET /v1/cooperation-findings

src/api/cooperation.rs (list_cooperation_findings)

delegated::MEDICAID_GET_COOPERATION_FINDINGS: system; caseworker+; case reader via canopy-web

the categories tab's cooperation findings (#3191)

POST /v1/cooperation-findings

src/api/cooperation.rs (create_cooperation_finding)

WRITER: system; writer

recorder_subject: refuses a system caller 403 service_class_on_user_only; records the worker’s subject (#3189)

GET /v1/demonstration-activity-counts

src/api/demonstration_activity.rs (get_demonstration_activity_count)

delegated::MEDICAID_GET_DEMONSTRATION_ACTIVITY_COUNTS: system; caseworker+; case reader via canopy-web

the categories tab's counted hours (#3205)

GET /v1/demonstration-activity-reports

src/api/demonstration_activity.rs (list_demonstration_activity_reports)

delegated::MEDICAID_GET_DEMONSTRATION_ACTIVITY_REPORTS: system; caseworker+; case reader via canopy-web

the categories tab's reports in the window (#3205)

POST /v1/demonstration-activity-reports

src/api/demonstration_activity.rs (create_demonstration_activity_report)

WRITER: system; writer

recorder_subject: refuses a system caller 403 service_class_on_user_only; records the worker’s subject (#3203)

GET /v1/determination-operations/{operation_id}/envelopes

src/api/operation_envelopes.rs (list_operation_envelopes)

OPERATION_MINTER: system: canopy-eligibility

#2673: the replay adoption read

GET /v1/determinations

src/api/handlers/determinations.rs (list_determinations)

SYSTEM (system) with month; else delegated::MEDICAID_GET_DETERMINATIONS: system; caseworker+; case reader via canopy-web

the federal month scope is system-only

GET /v1/determinations/{id}

src/api/handlers/determinations.rs (get_determination)

READER: system; caseworker+

GET /v1/determinations/{id}/explanation

src/api/handlers/determinations.rs (get_explanation)

READER: system; caseworker+

POST /v1/determinations/{id}/redact

src/api/handlers/determinations.rs (post_redact_determination)

inline: data_steward

records attribution_sub()

POST /v1/determine

src/api/handlers/determine.rs (post_determine)

WRITER: system; writer

enforce_provenance_gates: a non-default as_of, a trigger, a previous_determination_id, served_program: chip (#2942) or an operation_id (#2673) only from canopy-eligibility (principal.client())

GET /v1/ele/chain-status

src/api/handlers/ele.rs (ele_chain_status)

READER: system; caseworker+

GET /v1/ele/household/{household_id}

src/api/handlers/ele.rs (get_ele_household_summary)

delegated::MEDICAID_GET_ELE_HOUSEHOLD_HOUSEHOLD_ID: system; caseworker+; case reader via canopy-web

POST /v1/ele/renewals/run

src/api/handlers/ele.rs (run_ele_renewals)

ELE_OPERATOR: admin or quality_control

GET /v1/ele/{person_id}

src/api/handlers/ele.rs (get_ele_status)

READER: system; caseworker+

POST /v1/ele/{person_id}/revoke

src/api/handlers/ele.rs (revoke_ele)

ELE_OPERATOR: admin or quality_control

records principal.actor()

GET /v1/fti-audit-log

src/api/fti_audit_handlers.rs (list_fti_audit)

FTI_AUDITOR: fti_auditor

GET /v1/fti-audit-log/summary

src/api/fti_audit_handlers.rs (fti_audit_summary)

FTI_AUDITOR: fti_auditor

GET /v1/fti-audit-log/{id}

src/api/fti_audit_handlers.rs (get_fti_audit_entry)

FTI_AUDITOR: fti_auditor

GET /v1/held-determinations

src/api/held.rs (list_held_determinations)

delegated::MEDICAID_GET_HELD_DETERMINATIONS: determination operator via canopy-eligibility

no system or direct-user arm (#3065)

GET /v1/households/{household_id}/determinations/newest

src/api/household_determinations.rs (list_newest_per_subject)

delegated::MEDICAID_GET_HOUSEHOLDS_HOUSEHOLD_ID_DETERMINATIONS_NEWEST: system; caseworker+; case reader via canopy-web

GET /v1/overpayments

crates/canopy-overpayments/src/api.rs (list_claims)

ListAdmission(&delegated::MEDICAID_GET_OVERPAYMENTS): system; caseworker+; case reader via canopy-reporting

the mounting router layers the admission (api::routes(admission))

POST /v1/overpayments

crates/canopy-overpayments/src/api.rs (post_claim)

WRITER: system; writer

records principal.actor()

GET /v1/overpayments/{id}

crates/canopy-overpayments/src/api.rs (get_claim)

READER: system; caseworker+

GET /v1/overpayments/{id}/ledger

crates/canopy-overpayments/src/api.rs (get_ledger)

READER: system; caseworker+

POST /v1/overpayments/{id}/recoupments

crates/canopy-overpayments/src/api.rs (post_recoupment)

WRITER: system; writer

POST /v1/overpayments/{id}/repayment-plans

crates/canopy-overpayments/src/api.rs (post_repayment_plan)

WRITER: system; writer

GET /v1/tma

src/api/handlers/determinations.rs (list_tma_coverage)

READER: system; caseworker+

canopy-notices

Only the portal holds a system edge to canopy-notices, so the reads admit the portal and canopy-web’s readers, the render route the citation audience, and the producer routes canopy-cli’s operators.

Route Handler Admission Notes

POST /v1/admin/events/replay

crates/canopy-api/src/admin.rs (admin_replay_handler)

ADMIN_HUMAN: admin

mounted by AdminRoutes::with_replay

POST /v1/documents/render

src/api/mod.rs (render_document)

inline: citation render

GET /v1/notices

src/api/mod.rs (list_notices)

delegated::NOTICES_GET_NOTICES: portal (portal:notices:read); worker reader via canopy-web

portal: require_owned_household

POST /v1/notices

src/api/mod.rs (generate_notice)

OPERATOR: admin via canopy-cli

GET /v1/notices/queue

src/api/mod.rs (list_delivery_queue)

QUEUE_READER: caseworker+ via canopy-cli

GET /v1/notices/{id}

src/api/applicant_reads.rs (get_notice)

delegated::NOTICES_GET_NOTICES_ID: portal (portal:notices:read); worker reader via canopy-web

portal: require_owned_household

POST /v1/notices/{id}/mark-read

src/api/applicant_reads.rs (mark_notice_read)

inline: portal (portal:notices:ack)

portal: require_owned_household

GET /v1/notices/{id}/pdf

src/api/applicant_reads.rs (get_notice_pdf)

delegated::NOTICES_GET_NOTICES_ID_PDF: portal (portal:notices:read); worker reader via canopy-web

portal: require_owned_household

POST /v1/notices/{id}/resend

src/api/mod.rs (resend_notice)

OPERATOR: admin via canopy-cli

canopy-persons

System callers are canopy-applications, canopy-eligibility, canopy-medicaid, canopy-notices, canopy-renewals, canopy-reporting, canopy-snap, canopy-tanf and canopy-verification, and the portal on GET /v1/persons/{id}/core alone (#2706). Every person, household and fact route but GET /v1/persons/{id}/core (PORTAL_PERSON_CORE) is a delegated row; the finalize control surface admits canopy-applications' system token alone.

Route Handler Admission Notes

GET /v1/export/persons

src/api/export.rs (export_persons)

inline: admin or quality_control

the export event names attribution_sub()

POST /v1/households

src/api/household_records.rs (create_household)

delegated::PERSONS_POST_HOUSEHOLDS: system; writer via canopy-cli

require_finalize_caller: a finalize-tagged write only from canopy-applications' system token

GET /v1/households/{id}

src/api/household_records.rs (get_household)

delegated::PERSONS_GET_HOUSEHOLDS_ID: system; worker reader via canopy-web, canopy-cli, canopy-eligibility, canopy-verification

GET /v1/households/{id}/full

src/api/household_records.rs (get_household_full)

delegated::PERSONS_GET_HOUSEHOLDS_ID_FULL: system; case reader via canopy-web, canopy-cli, canopy-eligibility, canopy-snap

the ssn.accessed events name attribution_sub()

POST /v1/households/{id}/members/claims

src/api/member_claims.rs (claim_household_member)

delegated::PERSONS_POST_HOUSEHOLDS_ID_MEMBERS_CLAIMS: system; writer via canopy-web, canopy-cli

claim_author: a user’s own subject, else the system caller’s body author; require_finalize_caller on a finalize-tagged write

DELETE /v1/households/{id}/members/claims/{fact_id}

src/api/member_claims.rs (close_household_member_claim)

delegated::PERSONS_DELETE_HOUSEHOLDS_ID_MEMBERS_CLAIMS_FACT_ID: system; writer via canopy-web, canopy-cli

POST /v1/households/{id}/homelessness

src/api/homelessness.rs (claim_homelessness)

delegated::PERSONS_POST_HOUSEHOLDS_ID_HOMELESSNESS: system; writer via canopy-web, canopy-cli

claim_author; a correction’s period must be the household’s (#3144)

DELETE /v1/households/{id}/homelessness/{fact_id}

src/api/homelessness.rs (close_homelessness)

delegated::PERSONS_DELETE_HOUSEHOLDS_ID_HOMELESSNESS_FACT_ID: system; writer via canopy-web, canopy-cli

close_author; the period must be the household’s (#3144)

POST /v1/households:batchGet

src/api/batch_get.rs (batch_get_households)

delegated::PERSONS_POST_HOUSEHOLDS_BATCH_GET: system; worker reader via canopy-web, canopy-applications, canopy-verification

GET /v1/internal/finalize-operations/{op}

src/api/finalize_control.rs (get_finalize_operation)

FINALIZE_OPERATOR: system: canopy-applications

POST /v1/internal/finalize-operations/{op}/{gen}/cancel

src/api/finalize_control.rs (cancel_finalize_operation)

FINALIZE_OPERATOR: system: canopy-applications

POST /v1/internal/finalize-operations/{op}/{gen}/register

src/api/finalize_control.rs (register_finalize_operation)

FINALIZE_OPERATOR: system: canopy-applications

POST /v1/internal/finalize-operations/{op}/{gen}/release

src/api/finalize_control.rs (release_finalize_operation)

FINALIZE_OPERATOR: system: canopy-applications

GET /v1/persons

src/api/person_records.rs (list_persons)

delegated::PERSONS_GET_PERSONS: system; worker reader via canopy-web, canopy-cli

the ssn.accessed events name attribution_sub()

POST /v1/persons

src/api/person_records.rs (create_person)

delegated::PERSONS_POST_PERSONS: system; writer via canopy-web, canopy-cli

the ssn.accessed event names attribution_sub(); require_finalize_caller: a finalize-tagged write only from canopy-applications' system token

DELETE /v1/persons/{id}

src/api/person_records.rs (delete_person)

delegated::PERSONS_DELETE_PERSONS_ID: system; supervisor or admin via canopy-cli

GET /v1/persons/{id}

src/api/person_records.rs (get_person)

delegated::PERSONS_GET_PERSONS_ID: system; case reader via canopy-web, canopy-cli

the ssn.accessed event names attribution_sub()

GET /v1/persons/{id}/core

src/api/person_records.rs (get_person_core)

PORTAL_PERSON_CORE: portal (portal:persons:read)

portal: require_owned_person; opens no SSN, stages no ssn.accessed (#2706)

PUT /v1/persons/{id}

src/api/person_records.rs (update_person)

delegated::PERSONS_PUT_PERSONS_ID: system; writer via canopy-web, canopy-cli

opens no SSN, stages no ssn.accessed (#2705)

GET /v1/persons/{id}/addresses

src/api/fact_reads.rs (list_addresses)

delegated::PERSONS_GET_PERSONS_ID_ADDRESSES: system; case reader via canopy-web

POST /v1/persons/{id}/addresses/claims

src/api/address_claims.rs (claim_address)

delegated::PERSONS_POST_PERSONS_ID_ADDRESSES_CLAIMS: system; writer via canopy-web, canopy-cli

claim_author; require_finalize_caller on a finalize-tagged write

DELETE /v1/persons/{id}/addresses/claims/{fact_id}

src/api/address_claims.rs (close_address_claim)

delegated::PERSONS_DELETE_PERSONS_ID_ADDRESSES_CLAIMS_FACT_ID: system; writer via canopy-web, canopy-cli

GET /v1/persons/{id}/assets

src/api/fact_reads.rs (list_assets)

delegated::PERSONS_GET_PERSONS_ID_ASSETS: system; caseworker+ via canopy-cli

POST /v1/persons/{id}/assets/claims

src/api/financial_claims.rs (claim_asset)

delegated::PERSONS_POST_PERSONS_ID_ASSETS_CLAIMS: system; writer via canopy-web, canopy-cli

claim_author; require_finalize_caller on a finalize-tagged write

GET /v1/persons/{id}/expenses

src/api/fact_reads.rs (list_expenses)

delegated::PERSONS_GET_PERSONS_ID_EXPENSES: system; caseworker+ via canopy-cli

POST /v1/persons/{id}/expenses/claims

src/api/financial_claims.rs (claim_expense)

delegated::PERSONS_POST_PERSONS_ID_EXPENSES_CLAIMS: system; writer via canopy-web, canopy-cli

claim_author; require_finalize_caller on a finalize-tagged write

POST /v1/persons/{id}/facts/{kind}/{fact_id}/redact

src/api/redaction.rs (post_redact_fact)

DATA_STEWARD: data_steward

steward: records the steward’s subject

GET /v1/persons/{id}/income

src/api/fact_reads.rs (list_income)

delegated::PERSONS_GET_PERSONS_ID_INCOME: system; worker reader via canopy-web, canopy-cli

POST /v1/persons/{id}/income/claims

src/api/financial_claims.rs (claim_income)

delegated::PERSONS_POST_PERSONS_ID_INCOME_CLAIMS: system; writer via canopy-web, canopy-cli

claim_author; require_finalize_caller on a finalize-tagged write; refuse_ievs_claim refuses source: ievs (#2546)

POST /v1/persons/{id}/income/proposals

src/api/income_proposals.rs (propose_income)

delegated::PERSONS_POST_PERSONS_ID_INCOME_PROPOSALS: system; writer via canopy-web, canopy-cli

proposal_author: the bearer’s worker; a system caller is refused (422) (#2546)

GET /v1/persons/{id}/income/proposals

src/api/income_proposals.rs (list_income_proposals)

delegated::PERSONS_GET_PERSONS_ID_INCOME_PROPOSALS: system; worker reader via canopy-web, canopy-cli

(#2546)

DELETE /v1/persons/{id}/income/claims/{fact_id}

src/api/financial_claims.rs (close_income_claim)

delegated::PERSONS_DELETE_PERSONS_ID_INCOME_CLAIMS_FACT_ID: system; writer via canopy-web, canopy-cli

POST /v1/persons/{id}/parents/claims

src/api/parent_claims.rs (claim_parent)

delegated::PERSONS_POST_PERSONS_ID_PARENTS_CLAIMS: system; writer via canopy-web

claim_author; require_finalize_caller on a finalize-tagged write; {id} is the child (#3047)

DELETE /v1/persons/{id}/parents/claims/{fact_id}

src/api/parent_claims.rs (close_parent_claim)

delegated::PERSONS_DELETE_PERSONS_ID_PARENTS_CLAIMS_FACT_ID: system; writer via canopy-web

close_author; the fact must be the child’s (#3047)

POST /v1/persons/{id}/pregnancies

src/api/pregnancy.rs (claim_pregnancy)

delegated::PERSONS_POST_PERSONS_ID_PREGNANCIES: system; writer via canopy-web, canopy-cli

claim_author; a correction’s fact must be the person’s (#3143)

POST /v1/persons/{id}/redact-ssn

src/api/redaction.rs (post_redact_ssn)

DATA_STEWARD: data_steward

steward: records the steward’s subject

POST /v1/persons:batchGet

src/api/batch_get.rs (batch_get_persons)

delegated::PERSONS_POST_PERSONS_BATCH_GET: system; worker reader via canopy-web, canopy-applications

require_ssn_projection: the ssn projection only for a system caller; its ssn.accessed events name attribution_sub()

DELETE /v1/pregnancies/{fact_id}

src/api/pregnancy.rs (end_pregnancy)

delegated::PERSONS_DELETE_PREGNANCIES_FACT_ID: system; writer via canopy-web, canopy-cli

close_author; the person is the fact’s own (#3143)

canopy-renewals

System callers are canopy-eligibility and canopy-reporting, and the portal on the in-force certification read. The periodic-report commands, universe snapshots and scheduler trigger are system-only.

Route Handler Admission Notes

POST /v1/renewals/caseload-rollup/refresh

src/api/scheduler_pass.rs (run_caseload_rollup_refresh)

delegated::RENEWALS_POST_RENEWALS_CASELOAD_ROLLUP_REFRESH: system; admin via canopy-cli

GET /v1/renewals/caseload-trend

src/api/caseload_trend.rs (get_caseload_trend)

delegated::RENEWALS_GET_RENEWALS_CASELOAD_TREND: system; case reader via canopy-web, canopy-cli

GET /v1/renewals/overdue

src/api/due.rs (list_overdue)

delegated::RENEWALS_GET_RENEWALS_OVERDUE: system; case reader via canopy-web

POST /v1/renewals/scheduler/run

src/api/scheduler_pass.rs (run_scheduler_pass)

inline: system

GET /v1/renewals/snap/certifications

src/api/certifications.rs (get_active_certification)

delegated::RENEWALS_GET_RENEWALS_SNAP_CERTIFICATIONS: system; portal (portal:certifications:read); worker reader via canopy-web, canopy-eligibility

portal: require_owned_household

POST /v1/renewals/snap/certifications

src/api/certifications.rs (create_certification)

WRITER: system; writer

GET /v1/renewals/snap/certifications/{id}

src/api/certifications.rs (get_certification)

delegated::RENEWALS_GET_RENEWALS_SNAP_CERTIFICATIONS_ID: system; writer via canopy-applications

POST /v1/renewals/snap/certifications/{id}/change-report

src/api/change_reports.rs (create_change_report)

WRITER: system; writer

POST /v1/renewals/snap/certifications/{id}/convert

src/api/conversion.rs (convert_certification)

inline: system

POST /v1/renewals/snap/certifications/{id}/interim-contact

src/api/interim_contacts.rs (record_interim_contact)

WRITER: system; writer

GET /v1/renewals/snap/due

src/api/due.rs (list_due)

delegated::RENEWALS_GET_RENEWALS_SNAP_DUE: system; worker reader via canopy-web

GET /v1/renewals/snap/interim-contacts/due

src/api/interim_contacts.rs (list_interim_contacts_due)

delegated::RENEWALS_GET_RENEWALS_SNAP_INTERIM_CONTACTS_DUE: system; case reader via canopy-web

GET /v1/renewals/snap/nudges

src/api/nudges.rs (list_recert_nudges)

delegated::RENEWALS_GET_RENEWALS_SNAP_NUDGES: system; case reader via canopy-web, canopy-cli

POST /v1/renewals/snap/nudges/{id}/action

src/api/nudges.rs (action_recert_nudge)

WRITER: system; writer

records principal.actor()

GET /v1/renewals/snap/periodic-reports

src/api/periodic_report_steps.rs (list_periodic_reports)

inline: system

GET /v1/renewals/snap/periodic-reports/{id}

src/api/periodic_report_steps.rs (get_periodic_report)

inline: system

POST /v1/renewals/snap/periodic-reports/{id}/complete

src/api/periodic_report_completion.rs (complete_periodic_report)

inline: system

POST /v1/renewals/snap/periodic-reports/{id}/form

src/api/periodic_report_steps.rs (record_periodic_report_form)

inline: system

POST /v1/renewals/snap/periodic-reports/{id}/reopen

src/api/periodic_report_reopen.rs (reopen_periodic_report)

inline: system

POST /v1/renewals/snap/periodic-reports/{id}/vcl

src/api/periodic_report_steps.rs (send_periodic_report_vcl)

inline: system

POST /v1/renewals/snap/periodic-reports/{id}/verified

src/api/periodic_report_steps.rs (record_periodic_report_verified)

inline: system

GET /v1/renewals/snap/redeterminations

src/api/redeterminations.rs (list_redeterminations)

inline: system

POST /v1/renewals/snap/redeterminations/{id}/action

src/api/redeterminations.rs (action_redetermination)

WRITER: system; writer

records principal.actor()

POST /v1/renewals/snap/universe-snapshots

src/api/due.rs (create_universe_snapshot)

inline: system

GET /v1/renewals/snap/universe-snapshots/{id}/rows

src/api/due.rs (list_universe_snapshot_rows)

inline: system

POST /v1/renewals/{program}/change-report

src/api/change_reports.rs (create_program_change_report)

WRITER: system; writer

GET /v1/renewals/{program}/due

src/api/due.rs (list_program_due)

delegated::RENEWALS_GET_RENEWALS_PROGRAM_DUE: system; worker reader via canopy-web

POST /v1/renewals/{program}/interim-contact

src/api/interim_contacts.rs (record_program_interim_contact)

WRITER: system; writer

canopy-reporting

No client holds a system edge to canopy-reporting. Every route admits a supervisor or admin user through any client (canopy-cli’s canopy report), except the overpayment summary’s delegated row. A report run records attribution_sub() as its requester.

Route Handler Admission Notes

GET /v1/reporting/medicaid/cms-416

src/api/medicaid_reports.rs (list_medicaid_cms416)

SUPERVISORS: supervisor or admin

POST /v1/reporting/medicaid/cms-416

src/api/medicaid_reports.rs (generate_medicaid_cms416)

SUPERVISORS: supervisor or admin

records attribution_sub()

GET /v1/reporting/medicaid/cms-64

src/api/medicaid_reports.rs (list_medicaid_cms64)

SUPERVISORS: supervisor or admin

POST /v1/reporting/medicaid/cms-64

src/api/medicaid_reports.rs (generate_medicaid_cms64)

SUPERVISORS: supervisor or admin

GET /v1/reporting/medicaid/tmsis

src/api/medicaid_reports.rs (list_medicaid_tmsis)

SUPERVISORS: supervisor or admin

POST /v1/reporting/medicaid/tmsis

src/api/medicaid_reports.rs (generate_medicaid_tmsis)

SUPERVISORS: supervisor or admin

records attribution_sub()

GET /v1/reporting/medicaid/tmsis/csv

src/api/medicaid_reports.rs (export_medicaid_tmsis_csv)

SUPERVISORS: supervisor or admin

GET /v1/reporting/overpayments

src/api/overpayments.rs (export_overpayments_csv)

SUPERVISORS: supervisor or admin

GET /v1/reporting/overpayments/summary

src/api/overpayments.rs (get_overpayments_summary)

delegated::REPORTING_GET_REPORTING_OVERPAYMENTS_SUMMARY: caseworker+; supervisor view via canopy-web

GET /v1/reporting/runs

src/api/runs.rs (list_runs)

SUPERVISORS: supervisor or admin

GET /v1/reporting/runs/{id}

src/api/runs.rs (get_run_status)

SUPERVISORS: supervisor or admin

GET /v1/reporting/snap/fns-388

src/api/fns388.rs (list_reports)

SUPERVISORS: supervisor or admin

POST /v1/reporting/snap/fns-388

src/api/fns388.rs (generate_fns_388)

SUPERVISORS: supervisor or admin

records attribution_sub()

GET /v1/reporting/snap/fns-388/{month}

src/api/fns388.rs (get_report)

SUPERVISORS: supervisor or admin

POST /v1/reporting/snap/fns-388/{month}/submission

src/api/fns388.rs (transition_fns388_submission)

SUPERVISORS: supervisor or admin

POST /v1/reporting/snap/qc-universe

src/api/qc.rs (generate_qc_snapshot)

SUPERVISORS: supervisor or admin

records attribution_sub()

GET /v1/reporting/snap/qc-universe/{date}

src/api/qc.rs (get_qc_universe)

SUPERVISORS: supervisor or admin

GET /v1/reporting/snap/qc-universe/{date}/csv

src/api/qc.rs (export_qc_csv)

SUPERVISORS: supervisor or admin

GET /v1/reporting/tanf/acf-196

src/api/tanf_reports.rs (list_tanf_acf196)

SUPERVISORS: supervisor or admin

POST /v1/reporting/tanf/acf-196

src/api/tanf_reports.rs (generate_tanf_acf196)

SUPERVISORS: supervisor or admin

GET /v1/reporting/tanf/acf-199

src/api/tanf_reports.rs (list_tanf_acf199)

SUPERVISORS: supervisor or admin

POST /v1/reporting/tanf/acf-199

src/api/tanf_reports.rs (generate_tanf_acf199)

SUPERVISORS: supervisor or admin

records attribution_sub()

GET /v1/reporting/tanf/acf-199/csv

src/api/tanf_reports.rs (export_tanf_acf199_csv)

SUPERVISORS: supervisor or admin

GET /v1/reporting/tanf/wpr

src/api/tanf_reports.rs (list_tanf_wpr)

SUPERVISORS: supervisor or admin

POST /v1/reporting/tanf/wpr

src/api/tanf_reports.rs (generate_tanf_wpr)

SUPERVISORS: supervisor or admin

canopy-rules

Every program service and canopy-eligibility call canopy-rules on system tokens; canopy-cli’s caseworker-or-above operators read the rule sets and evaluate.

Route Handler Admission Notes

GET /v1/corpus

src/api/mod.rs (get_corpus)

inline: system

POST /v1/evaluate

src/api/mod.rs (evaluate)

delegated::RULES_POST_EVALUATE: system; caseworker+ via canopy-cli

GET /v1/evaluations

src/api/mod.rs (list_evaluations)

inline: system

GET /v1/rule-sets

src/api/mod.rs (list_rule_sets)

delegated::RULES_GET_RULE_SETS: system; caseworker+ via canopy-cli

GET /v1/rule-sets/{name}

src/api/mod.rs (get_rule_set)

delegated::RULES_GET_RULE_SETS_NAME: system; caseworker+ via canopy-cli

canopy-security

System callers are every program service, canopy-eligibility, canopy-web (the worker directory) and the portal (the audit ingest). The house admission is SERVICE_OR_ADMIN, widened by the delegated rows for canopy-web’s and canopy-cli’s audit readers.

Route Handler Admission Notes

POST /v1/admin/events/replay

crates/canopy-api/src/admin.rs (admin_replay_handler)

ADMIN_HUMAN: admin

mounted by AdminRoutes::with_replay

GET /v1/export/audit-events

src/api/export.rs (export_audit_events)

inline: admin or quality_control

the export event names attribution_sub()

GET /v1/security/alerts

src/api/alerts.rs (list_alerts)

delegated::SECURITY_GET_SECURITY_ALERTS: system; admin; audit reader via canopy-cli

GET /v1/security/alerts/{id}

src/api/alerts.rs (get_alert)

SERVICE_OR_ADMIN: system; admin

PATCH /v1/security/alerts/{id}

src/api/alerts.rs (update_alert)

SERVICE_OR_ADMIN: system; admin

GET /v1/security/archive

src/api/archive.rs (list_archived)

SERVICE_OR_ADMIN: system; admin

POST /v1/security/archive

src/api/archive.rs (run_archive)

inline: admin

records attribution_sub()

GET /v1/security/archive-runs/{id}

src/api/archive.rs (get_archive_run)

SERVICE_OR_ADMIN: system; admin

POST /v1/security/audit/ingest

src/api/events.rs (ingest_audit_event)

inline: system; portal (portal:audit:write)

source_service is stamped from principal.client(); portal: require_owned_application

GET /v1/security/chain/attest

src/api/chain.rs (chain_attest)

delegated::SECURITY_GET_SECURITY_CHAIN_ATTEST: system; admin; audit reader via canopy-web, canopy-cli

GET /v1/security/chain/status

src/api/chain.rs (chain_status)

delegated::SECURITY_GET_SECURITY_CHAIN_STATUS: system; admin; worker reader via canopy-web, canopy-cli

POST /v1/security/chain/verify

src/api/chain_verify_jobs.rs (chain_verify_enqueue)

SERVICE_OR_ADMIN: system; admin

records attribution_sub()

GET /v1/security/chain/verify-jobs/{id}

src/api/chain_verify_jobs.rs (chain_verify_job)

SERVICE_OR_ADMIN: system; admin

GET /v1/security/events

src/api/events.rs (list_events)

delegated::SECURITY_GET_SECURITY_EVENTS: system; admin; worker reader via canopy-web, canopy-cli

require_case_scope: a user outside audit readers must name one household

GET /v1/security/events/{id}

src/api/events.rs (get_event)

delegated::SECURITY_GET_SECURITY_EVENTS_ID: system; admin; audit reader via canopy-web, canopy-cli

GET /v1/security/nist-controls

src/api/mod.rs (list_nist_controls)

delegated::SECURITY_GET_SECURITY_NIST_CONTROLS: system; admin; audit reader via canopy-cli

GET /v1/security/persons/{person_id}/fact-history/{resource}

src/api/events.rs (fact_change_history)

delegated::SECURITY_GET_SECURITY_PERSONS_PERSON_ID_FACT_HISTORY_RESOURCE: system; admin; worker reader via canopy-web, canopy-cli

POST /v1/security/signing-keys

src/api/signing_keys.rs (register_signing_key)

inline: system

signing_authz::authorize_registration: the caller’s client must match the program it registers

GET /v1/security/signing-keys/{program}/jwks

src/api/signing_keys.rs (signing_key_jwks)

inline: system

GET /v1/security/summary

src/api/mod.rs (get_summary)

delegated::SECURITY_GET_SECURITY_SUMMARY: system; admin; audit reader via canopy-cli

GET /v1/security/workers

src/api/workers.rs (list_workers)

SERVICE_OR_ADMIN: system; admin

GET /v1/security/workers/lookup

src/api/workers.rs (lookup_worker)

SERVICE_OR_ADMIN: system; admin

POST /v1/security/workers/observed

src/api/workers.rs (observe_worker)

inline: system

canopy-identity’s routes are mounted at canopy-security’s router root, outside /v1, its receiver and its OpenAPI document; none takes a receiver admission:

Route Handler Who may call

GET /identity/jwks

src/identity/jwks.rs (serve_jwks)

anyone; a bearer is not read

GET /.well-known/oauth-authorization-server/identity

src/identity/token_endpoint.rs (serve_metadata)

anyone

POST /identity/token

src/identity/token_endpoint.rs (issue)

a confidential client authenticated in the form by a private_key_jwt assertion; canopy-cli, a public client, on its native grants; each grant held to the compiled call graph

POST /identity/revoke

src/identity/token_endpoint/revocation.rs (revoke)

canopy-web by its assertion, for its sessions and native sessions; canopy-cli for its own native session

POST /identity/device_authorization

src/identity/token_endpoint/device.rs (authorize)

canopy-cli, a public client

POST /identity/device_verification

src/identity/token_endpoint/device.rs (verify)

canopy-web by its assertion

GET, POST /identity/admin/subjects; GET /identity/admin/subjects/{subject_id}; POST …/subjects/{subject_id}/suspend, …/lift; POST /identity/admin/sessions/{session_id}/revoke; POST /identity/admin/links; GET /identity/admin/keys; POST …/keys/{kid}/revoke; GET /identity/admin/clients; POST …/clients/{client}/disable, …/enable; GET /identity/admin/actions

src/identity/admin/reads.rs, src/identity/admin/writes.rs, src/identity/admin/actions.rs

the security-admin guard (src/identity/admin/guard.rs): a delegation for canopy-security whose session and clients pass (else 401 invalid_token), holding security_admin (else 403 insufficient_scope), from a sign-in at most SECURITY_ADMIN_MAX_AGE_SECONDS old (else 401 insufficient_user_authentication); each write records its action with its change

canopy-snap

System callers are canopy-eligibility and canopy-reporting, and the portal on the parameter read. The envelope operation read admits canopy-eligibility’s system token alone.

Route Handler Admission Notes

POST /v1/abawd/activity

src/api/abawd_handler.rs (record_activity)

WRITER: system; writer

GET /v1/abawd/tracking

src/api/abawd_handler.rs (list_tracking)

delegated::SNAP_GET_ABAWD_TRACKING: system; caseworker+; case reader via canopy-web

GET /v1/abawd/tracking/{id}/activities

src/api/abawd_handler.rs (list_activities)

READER: system; caseworker+

POST /v1/abawd/tracking:batchGet

src/api/abawd_handler.rs (batch_get_tracking)

SYSTEM: system

POST /v1/abawd/tracking/{id}/regain

src/api/abawd_eligibility_handler.rs (regain_eligibility)

WRITER, user-only (recorder_subject): writer

#3220; a service bearer is 403 service_class_on_user_only

POST /v1/abawd/discretionary-exemptions

src/api/abawd_eligibility_handler.rs (create_discretionary_exemption)

WRITER, user-only (recorder_subject): writer

#3220; a service bearer is 403 service_class_on_user_only

POST /v1/work-registrations

src/api/work_registration_handler.rs (create_work_registration)

WRITER, user-only (recorder_subject): writer

#3218; a service bearer is 403 service_class_on_user_only

GET /v1/work-registrations

src/api/work_registration_handler.rs (list_work_registrations)

READER: system; caseworker+

POST /v1/work-sanctions

src/api/work_sanction_handler.rs (create_work_sanction)

WRITER, user-only (recorder_subject): writer

#3219; a service bearer is 403 service_class_on_user_only

POST /v1/work-sanctions/{id}/lift

src/api/work_sanction_handler.rs (lift_work_sanction)

WRITER, user-only (recorder_subject): writer

#3219

GET /v1/work-sanctions

src/api/work_sanction_handler.rs (list_work_sanctions)

READER: system; caseworker+

GET /v1/households/{household_id}/work-sanctions

src/api/work_sanction_handler.rs (list_household_work_sanctions)

delegated::SNAP_GET_HOUSEHOLDS_HOUSEHOLD_ID_WORK_SANCTIONS: system; caseworker+; case reader via canopy-web

GET /v1/households/{household_id}/work-registrations

src/api/work_registration_handler.rs (list_household_work_registrations)

delegated::SNAP_GET_HOUSEHOLDS_HOUSEHOLD_ID_WORK_REGISTRATIONS: system; caseworker+; case reader via canopy-web

POST /v1/admin/events/replay

crates/canopy-api/src/admin.rs (admin_replay_handler)

ADMIN_HUMAN: admin

mounted by AdminRoutes::with_replay

GET /v1/categorical-eligibility/participations

src/api/categorical_handler.rs (list_participations)

READER: system; caseworker+

POST /v1/categorical-eligibility/participations

src/api/categorical_handler.rs (post_participation)

WRITER: system; writer

GET /v1/determination-operations/{operation_id}/envelope

src/api/envelope_handler.rs (get_operation_envelope)

OPERATION_MINTER: system: canopy-eligibility

GET /v1/determinations/{id}/certified-members

src/api/certified_members_handler.rs (get_certified_members)

CERTIFICATION_READER: system: canopy-eligibility

GET /v1/determinations

src/api/determine_handler.rs (list_determinations)

delegated::SNAP_GET_DETERMINATIONS: system; caseworker+; case reader via canopy-web

GET /v1/determinations/{id}

src/api/determine_handler.rs (get_determination)

READER: system; caseworker+

GET /v1/determinations/{id}/envelope

src/api/envelope_handler.rs (get_determination_envelope)

ENVELOPE_READER: system; admin or quality_control

GET /v1/determinations/{id}/hearing-view

src/api/hearing_view_handler.rs (get_determination_hearing_view)

delegated::SNAP_GET_DETERMINATIONS_ID_HEARING_VIEW: system; case reader via canopy-web, canopy-cli, canopy-appeals

canopy-appeals' hearing view reads it as an onward delegation

POST /v1/determinations/{id}/overpayment-recompute

src/api/recompute_handler.rs (post_overpayment_recompute)

WRITER: system; writer

records principal.actor()

POST /v1/determinations/{id}/redact

src/api/determine_handler.rs (post_redact_determination)

inline: data_steward

records attribution_sub()

GET /v1/determinations/{id}/snapshot

src/api/determine_handler.rs (get_determination_snapshot)

delegated::SNAP_GET_DETERMINATIONS_ID_SNAPSHOT: system; admin or quality_control; caseworker+ via canopy-eligibility

POST /v1/determine

src/api/determine_handler.rs (post_determine)

WRITER: system; writer

resolve_determine_policy: every dispatch must come from canopy-eligibility, its system token or onward delegation (orchestrator_caller, principal.client()), else 403

POST /v1/determine/dry-run

src/api/determine_handler.rs (post_determine_dry_run)

delegated::SNAP_POST_DETERMINE_DRY_RUN: system; caseworker+ via canopy-eligibility

GET /v1/export/determinations

src/api/export.rs (export_determinations)

inline: admin or quality_control

the access event names attribution_sub()

GET /v1/held-determinations

src/api/held.rs (list_held_determinations)

delegated::SNAP_GET_HELD_DETERMINATIONS: determination operator via canopy-eligibility

no system or direct-user arm (#3065)

GET /v1/overpayments

crates/canopy-overpayments/src/api.rs (list_claims)

ListAdmission(&delegated::SNAP_GET_OVERPAYMENTS): system; caseworker+; case reader via canopy-reporting

the mounting router layers the admission (api::routes(admission))

POST /v1/overpayments

src/api/overpayments_handler.rs (post_claim)

WRITER: system; writer

records principal.actor()

GET /v1/overpayments/{id}

crates/canopy-overpayments/src/api.rs (get_claim)

READER: system; caseworker+

GET /v1/overpayments/{id}/ledger

crates/canopy-overpayments/src/api.rs (get_ledger)

READER: system; caseworker+

POST /v1/overpayments/{id}/recoupments

crates/canopy-overpayments/src/api.rs (post_recoupment)

WRITER: system; writer

POST /v1/overpayments/{id}/repayment-plans

crates/canopy-overpayments/src/api.rs (post_repayment_plan)

WRITER: system; writer

GET /v1/params

src/api/params_handler.rs (get_params)

delegated::SNAP_GET_PARAMS: system; portal (portal:snap-params:read); caseworker+; worker reader via canopy-web

GET /v1/params/provenance

src/api/params_handler.rs (get_params_provenance)

SYSTEM: system

GET /v1/student-status

src/api/categorical_handler.rs (list_student_statuses)

READER: system; caseworker+

POST /v1/student-status

src/api/categorical_handler.rs (post_student_status)

WRITER: system; writer

GET /v1/tsnap

src/api/tsnap_handler.rs (list_tsnap)

delegated::SNAP_GET_TSNAP: system; caseworker+; case reader via canopy-web

GET /v1/tsnap/{id}

src/api/tsnap_handler.rs (get_tsnap)

READER: system; caseworker+

GET /v1/verification/discrepancies

src/api/verification_handler.rs (list_discrepancies)

delegated::SNAP_GET_VERIFICATION_DISCREPANCIES: system; caseworker+; case reader via canopy-web, canopy-cli

GET /v1/verification/discrepancies/{id}

src/api/verification_handler.rs (get_discrepancy)

READER: system; caseworker+

PUT /v1/verification/discrepancies/{id}/resolve

src/api/verification_handler.rs (resolve_discrepancy)

WRITER: system; writer

records principal.actor()

GET /v1/verification/ievs-matches

src/api/verification_handler.rs (list_ievs_matches)

READER: system; caseworker+

canopy-tanf

Every system arm lists its clients: canopy-reporting’s system token (SYSTEM_CALLERS, delegated::TANF_SYSTEM_CALLERS, and the overpayment routes through ClaimAdmissions), and on the family-composition read canopy-eligibility’s too (#3322); canopy-eligibility otherwise reaches the determine route by onward delegation. The FTI access-log reads admit fti_auditor alone.

Route Handler Admission Notes

POST /v1/admin/events/replay

crates/canopy-api/src/admin.rs (admin_replay_handler)

ADMIN_HUMAN: admin

mounted by AdminRoutes::with_replay

GET /v1/determinations

src/api/handlers.rs (list_determinations)

SYSTEM (system) with month; else delegated::TANF_GET_DETERMINATIONS: system; caseworker+; case reader via canopy-web

the federal month scope is system-only

GET /v1/determinations/{id}

src/api/handlers.rs (get_determination)

READER: system; caseworker+

GET /v1/determinations/{id}/explanation

src/api/work_requirement_handlers.rs (get_determination_explanation)

READER: system; caseworker+

POST /v1/determinations/{id}/redact

src/api/handlers.rs (post_redact_determination)

inline: data_steward

records attribution_sub()

POST /v1/determine

src/api/handlers.rs (post_determine)

WRITER: system; writer

GET /v1/fti-audit-log

src/api/fti_audit_handlers.rs (list_fti_audit)

FTI_AUDITOR: fti_auditor

GET /v1/fti-audit-log/summary

src/api/fti_audit_handlers.rs (fti_audit_summary)

FTI_AUDITOR: fti_auditor

GET /v1/fti-audit-log/{id}

src/api/fti_audit_handlers.rs (get_fti_audit_entry)

FTI_AUDITOR: fti_auditor

GET /v1/held-determinations

src/api/held.rs (list_held_determinations)

delegated::TANF_GET_HELD_DETERMINATIONS: determination operator via canopy-eligibility

no system or direct-user arm (#3065)

GET /v1/overpayments

crates/canopy-overpayments/src/api.rs (list_claims)

ListAdmission(&delegated::TANF_GET_OVERPAYMENTS): system; caseworker+; case reader via canopy-reporting

the mounting router layers the admission (api::routes(admission))

POST /v1/overpayments

crates/canopy-overpayments/src/api.rs (post_claim)

WRITER: system; writer

records principal.actor()

GET /v1/overpayments/{id}

crates/canopy-overpayments/src/api.rs (get_claim)

READER: system; caseworker+

GET /v1/overpayments/{id}/ledger

crates/canopy-overpayments/src/api.rs (get_ledger)

READER: system; caseworker+

POST /v1/overpayments/{id}/recoupments

crates/canopy-overpayments/src/api.rs (post_recoupment)

WRITER: system; writer

POST /v1/overpayments/{id}/repayment-plans

crates/canopy-overpayments/src/api.rs (post_repayment_plan)

WRITER: system; writer

PUT /v1/personal-responsibilities/status/{id}

src/api/personal_responsibility_handlers.rs (update_personal_responsibility)

WRITER: system; writer

GET /v1/personal-responsibilities/{application_id}

src/api/personal_responsibility_handlers.rs (list_personal_responsibilities)

READER: system; caseworker+

POST /v1/personal-responsibilities/{application_id}

src/api/personal_responsibility_handlers.rs (create_personal_responsibility)

WRITER: system; writer

POST /v1/supplemental-payments

src/api/supplemental_payment_handlers.rs (create_supplemental_payment)

WRITER: system; writer

GET /v1/supplemental-payments/{person_id}

src/api/supplemental_payment_handlers.rs (list_supplemental_payments)

READER: system; caseworker+

POST /v1/tanf/scheduler/run

src/api/time_limit_handlers.rs (run_month_count_run)

SYSTEM: system

GET /v1/tanf/sanctions/rollup

src/api/work_requirement_handlers/sanctions.rs (get_sanctions_rollup)

delegated::TANF_GET_TANF_SANCTIONS_ROLLUP: system; caseworker+; supervisor view via canopy-web

GET /v1/time-limits/{person_id}

src/api/work_requirement_handlers/time_limits.rs (get_time_limits)

delegated::TANF_GET_TIME_LIMITS_PERSON_ID: system; caseworker+; case reader via canopy-web

GET /v1/time-limits/{person_id}/exclusions

src/api/time_limit_handlers.rs (list_count_exclusions)

READER: system; caseworker+

POST /v1/time-limits/{person_id}/exclusions

src/api/time_limit_handlers.rs (record_count_exclusion)

WRITER: system; writer

POST /v1/time-limits:batchGet

src/api/work_requirement_handlers/time_limits.rs (batch_get_time_limits)

delegated::TANF_POST_TIME_LIMITS_BATCH_GET: system; case reader via canopy-web

GET /v1/verification/discrepancies

src/api/discrepancy_handlers.rs (list_discrepancies)

READER: system; caseworker+

GET /v1/verification/discrepancies/{id}

src/api/discrepancy_handlers.rs (get_discrepancy)

READER: system; caseworker+

POST /v1/verification/discrepancies/{id}/resolve

src/api/discrepancy_handlers.rs (resolve_discrepancy)

WRITER: system; writer

POST /v1/work-requirements/activities/summary:batchGet

src/api/work_requirement_handlers/summary.rs (batch_activities_summary)

delegated::TANF_POST_WORK_REQUIREMENTS_ACTIVITIES_SUMMARY_BATCH_GET: system; case reader via canopy-web

POST /v1/work-requirements/evaluate

src/api/work_requirement_handlers/activities.rs (evaluate_work_requirements)

READER: system; caseworker+

POST /v1/work-requirements/work-standard-basis:batchGet

src/api/work_requirement_handlers/work_standard.rs (batch_work_standard_bases)

delegated::TANF_POST_WORK_REQUIREMENTS_WORK_STANDARD_BASIS_BATCH_GET: system; case reader via canopy-web

POST /v1/work-requirements/work-standard:batchGet

src/api/work_requirement_handlers/work_standard.rs (batch_work_standards)

SYSTEM: system

the #2315 work-standard classification; no delegated arm

POST /v1/determinations/family-composition:batchGet

src/api/family_composition.rs (batch_family_composition)

FAMILY_COMPOSITION_READERS: system from canopy-reporting, canopy-eligibility

the #3048 family-composition read, and #3322’s TANF-cash member fact; no delegated arm

POST /v1/work-requirements/activities/full-weeks:batchGet

src/api/work_requirement_handlers/full_weeks.rs (batch_full_weeks)

SYSTEM: system

the #3193 full-week hours read; no delegated arm

GET /v1/work-requirements/{person_id}

src/api/work_requirement_handlers/activities.rs (get_work_requirements)

delegated::TANF_GET_WORK_REQUIREMENTS_PERSON_ID: system; caseworker+; case reader via canopy-web

GET /v1/work-requirements/{person_id}/activities

src/api/work_requirement_handlers/activities.rs (list_activities)

delegated::TANF_GET_WORK_REQUIREMENTS_PERSON_ID_ACTIVITIES: system; caseworker+; case reader via canopy-web

POST /v1/work-requirements/{person_id}/activities

src/api/work_requirement_handlers/activities.rs (log_activity)

WRITER: system; writer

GET /v1/work-requirements/{person_id}/activities/summary

src/api/work_requirement_handlers/summary.rs (activities_summary)

READER: system; caseworker+

GET /v1/work-requirements/{person_id}/work-standard-basis

src/api/work_requirement_handlers/work_standard.rs (list_work_standard_bases)

READER: system; caseworker+

POST /v1/work-requirements/{person_id}/work-standard-basis

src/api/work_requirement_handlers/work_standard.rs (record_work_standard_basis)

WRITER: system; writer

records attribution_sub()

POST /v1/work-requirements:batchGet

src/api/work_requirement_handlers/activities.rs (batch_get_work_requirements)

delegated::TANF_POST_WORK_REQUIREMENTS_BATCH_GET: system; case reader via canopy-web

canopy-verification

System callers are canopy-applications, canopy-eligibility and canopy-snap, and the portal on the inbox and respond routes. The /internal/v1 adapter routes sit behind the same receiver and admit by a route layer.

Route Handler Admission Notes

POST /internal/v1/ievs/match

src/api/ievs.rs (handle_ievs_match)

IEVS_CALLERS (route layer, src/api/internal.rs): system: canopy-snap

served in a noop-adapters build

POST /internal/v1/save/additional-verification

src/api/save.rs (handle_additional)

SAVE_CALLERS (route layer): system: canopy-eligibility, canopy-snap

POST /internal/v1/save/verify

src/api/save.rs (handle_verify)

SAVE_CALLERS (route layer): system: canopy-eligibility, canopy-snap

POST /internal/v1/ssa/solq

src/api/ssa.rs (handle_query)

SOLQ_CALLERS = delegated::VERIFICATION_POST_INTERNAL_SSA_SOLQ (route layer): system: canopy-eligibility; writer via canopy-eligibility

GET /v1/verifications

src/api/verifications.rs (list_verifications)

delegated::VERIFICATION_GET_VERIFICATIONS: system; portal (portal:verifications:read); caseworker+; worker reader via canopy-web

portal: require_owned_application

POST /v1/verifications/batch-context

src/api/context.rs (batch_context)

delegated::VERIFICATION_POST_VERIFICATIONS_BATCH_CONTEXT: system: canopy-applications; worker reader via canopy-applications

POST /v1/verifications/cancel-open

src/api/context.rs (cancel_open)

delegated::VERIFICATION_POST_VERIFICATIONS_CANCEL_OPEN: system: canopy-applications; writer via canopy-applications

records principal.actor()

GET /v1/verifications/ievs/discrepancies

src/api/ievs_discrepancies.rs (list_ievs_discrepancies)

delegated::VERIFICATION_GET_VERIFICATIONS_IEVS_DISCREPANCIES: system; caseworker+; case reader via canopy-web

POST /v1/verifications/requests

src/api/requests.rs (request_verifications)

inline: system; writer

GET /v1/verifications/scoped

src/api/scoped.rs (list_scoped_pending_verifications)

delegated::VERIFICATION_GET_VERIFICATIONS_SCOPED: caseworker+ via canopy-web

resolve_effective_worker: a user names its own subject unless supervisor or admin; rows scoped to the canopy-applications assignment set

POST /v1/verifications/{id}/cancel

src/api/context.rs (cancel_verification)

inline: system; writer

records principal.actor()

POST /v1/verifications/{id}/resolve

src/api/verifications.rs (resolve_verification)

inline: system; writer

records principal.actor()

POST /v1/verifications/{id}/respond

src/api/verifications.rs (respond_verification)

inline: system; portal (portal:verifications:respond); writer

portal: require_owned_application; portal: require_owned_person

GET /v1/verifications/{id}/responses

src/api/verifications.rs (list_verification_responses)

delegated::VERIFICATION_GET_VERIFICATIONS_ID_RESPONSES: system; caseworker+; case reader via canopy-web

canopy-wic

canopy-eligibility reaches the determine route by onward delegation. The only system arm is canopy-appeals' on the four hearing-hold routes (#3387), which admit nothing else.

Route Handler Admission Notes

GET /v1/breastfeeding-statuses

src/api/handlers/breastfeeding.rs (list_breastfeeding_statuses)

delegated::WIC_GET_BREASTFEEDING_STATUSES: caseworker+; case reader via canopy-web

POST /v1/breastfeeding-statuses

src/api/handlers/breastfeeding.rs (create_breastfeeding_status)

WRITER: writer

assessor_subject: records the worker’s subject

GET /v1/determinations

src/api/handlers.rs (list_determinations)

delegated::WIC_GET_DETERMINATIONS: caseworker+; case reader via canopy-web

GET /v1/determinations/{id}

src/api/handlers.rs (get_determination)

READER: caseworker+

POST /v1/determinations/{id}/redact

src/api/handlers.rs (post_redact_determination)

inline: data_steward

records attribution_sub()

GET /v1/determinations/{id}/snapshot

src/api/snapshot.rs (get_determination_snapshot)

delegated::WIC_GET_DETERMINATIONS_ID_SNAPSHOT: admin or quality_control; caseworker+ via canopy-eligibility

canopy-snap's snapshot admission less its system arm (#3427)

POST /v1/determine

src/api/handlers.rs (post_determine)

WRITER: writer

GET /v1/held-determinations

src/api/held.rs (list_held_determinations)

delegated::WIC_GET_HELD_DETERMINATIONS: determination operator via canopy-eligibility

no system or direct-user arm (#3065)

GET /v1/nutritional-risk-assessments

src/api/handlers.rs (list_assessments_by_person)

delegated::WIC_GET_NUTRITIONAL_RISK_ASSESSMENTS: caseworker+; case reader via canopy-web

POST /v1/nutritional-risk-assessments

src/api/handlers.rs (create_assessment)

WRITER: writer

assessor_subject: records the worker’s subject

GET /v1/nutritional-risk-assessments/{id}

src/api/handlers.rs (get_assessment)

READER: caseworker+

GET /v1/participants

src/api/handlers.rs (list_participants)

READER: caseworker+

POST /v1/participants/lifecycle-sweep/run

src/api/lifecycle_sweep.rs (trigger_lifecycle_sweep)

OPERATION: admin via canopy-cli

GET /v1/participants/{id}

src/api/handlers.rs (get_participant)

READER: caseworker+

GET /v1/participants/{id}/terminations

src/api/terminations.rs (list_terminations)

READER: caseworker+

POST /v1/participants/{id}/terminations/{termination_id}/cancel

src/api/terminations.rs (cancel_termination)

WRITER: writer

worker_subject: records the worker’s subject

GET /v1/terminations/holds

src/api/termination_holds.rs (list_termination_holds)

APPEALS: system: canopy-appeals

GET /v1/terminations/{termination_id}

src/api/termination_holds.rs (get_termination)

APPEALS: system: canopy-appeals

GET /v1/terminations/{termination_id}/holds/{appeal_id}

src/api/termination_holds.rs (get_termination_hold)

APPEALS: system: canopy-appeals

PUT /v1/terminations/{termination_id}/holds/{appeal_id}

src/api/termination_holds.rs (command_termination_hold)

APPEALS: system: canopy-appeals

records canopy-appeals as the actor of an appeal_reversed cancel

GET /v1/wic/appointments/upcoming

src/api/appointment_handlers.rs (list_upcoming_appointments)

delegated::WIC_GET_WIC_APPOINTMENTS_UPCOMING: case reader via canopy-web

POST /v1/wic/households/{household_id}/appointments

src/api/appointment_handlers.rs (schedule_appointment)

WRITER: writer

POST /v1/wic/households/{household_id}/terminations

src/api/terminations.rs (schedule_terminations)

WRITER: writer

worker_subject: records the worker’s subject

canopy-web

canopy-web takes no admission: it serves worker sessions and calls the services on each worker’s delegation (Caller manifest), so its own authorization is the write and read model below.

Mutation authorization (#1516 / ADR-044)

Every mutating registration carries a machine-enforced PROGRAM-scope classification on top of the #1004 role-tier extractor — the census lives in SCOPE_POLICY (xtask/src/cmd/route_authz.rs) and is a cargo xtask validate gate (an unlisted mutation, or a total that differs from the EXPECTED_MUTATING_TOTAL canary — 119, #3546's CAPS asset certification the latest — fails the build), so this page records the model, not the rows:

  • RequireExtractor — the program is a compile-time fact; the handler takes ProgramScope<Snap|Tanf|Medicaid|Caps|Wic> (sealed tags; a shadow type cannot match), which 403s before the form body is read. Covers the per-program case actions and both IEVS handlers (SNAP authoritatively — they mutate the snap service regardless of the posted label).

  • RequireAuthorizedWrite — the program set is a property of the resource: the household’s participating programs (any-of, shared facts — the fact editors, and the pregnancy and homelessness actions in pregnancy.rs and homelessness.rs, #3147); the application row’s programs_requested (all-of — approve, deny, request-verification, the document actions); the path program on the per-program routes (run-determination and the section/data-collection proxies, unknown slugs refused); all selected programs on file-application; any-of SNAP/TANF on ELE consent (its trigger pair); all-of the re-read envelope’s program on the quarantine worklist’s resolve (ops_quarantine.rs (resolve_quarantined_determination), #2061); all-of the re-read hold’s own program on the held worklist’s adopt and drop (ops_held.rs (adopt_held_determination, drop_held_determination), #3127), whose request bodies and paths carry the hold’s ids, never the form’s. Empty, unrecognized or non-string sets fail closed (422), never a permitted write.

  • NotProgramScoped(reason) — the composition overrides, the two studio wizard mutations (studio/wizard.rs: post_step, post_cancel, each under StudioAdminOnly, which policy_for requires of that file), the fleet-wide ops scheduler trigger (#1642), the sign-out (logout, #2517: the worker’s own session under CsrfCheckedSignOut, no case data), the eight security-administration writes (admin_security.rs, under SecurityAdminOnly) and the four device approval writes (device.rs, under ApproverSession), each with its recorded reason.

Enforcement is structural, not remembered: the internal clients' write verbs are module-private, reachable only through ScopedClients in exchange for an AuthorizedResource proof (or the enumerated NeutralWrite: the audit-citation render RPC and the ops scheduler trigger), so deleting a handler’s check stops compiling; the audit adds classification completeness, extractor presence, authorization reach, and class-borrowing symmetry on top. Routed tampering matrix: services/canopy-web/src/api/scope_authz_route_tests.rs.

Read authorization (#1518 / ADR-044)

Every protected GET registration carries a READ_SCOPE_POLICY classification (xtask/src/cmd/route_authz.rs, pinned by the EXPECTED_PROTECTED_GET_TOTAL canary — 45, #3127’s held-determination worklist the latest) under the same gate: unlisted, stale, and count-mismatched entries all fail cargo xtask validate, and a ScopedRead entry must REACH a scope carrier (the query-filter/participation/proof mechanisms) via the #1516 fixpoint engine — a name-level tripwire, deliberately over-approximate: removing a handler’s LAST carrier un-reaches it and fails the audit, while the classification table itself stays the human-audited truth. The model:

  • Participation gate (case detail, its tab/fact-history fragments, the cross-program summary): the household must participate in an in-scope program — the union of programs_requested across its applications, the same authority as the #1516 fact-write gate (any-of). On the FULL PAGE an empty union is an honest 404 — no household-existence oracle — and an unparseable one 422s, both rendering the shared error page; the tab and fact-history FRAGMENTS keep their banner denial shapes until #1526; a lookup failure refuses the view everywhere.

  • Row gate (case search, command palette): each candidate household passes the participation check before its row is BUILT; unknown participation drops fail-closed. Case search additionally degrades the fragment so an outage cannot read as "not found"; the per-keystroke palette omits silently (no degraded-state UI by design). A person with no household participates in nothing and never renders.

  • Query-time filters (application/notices/appeals indexes, team queue, renewals legs, the dashboard hero and panels, the #2061 quarantine worklist ops_quarantine.rs (get_quarantine_worklist)): every list fetch carries the worker’s programs= storage slugs (or fans per-program routes over canonical slugs) — the degenerate unfiltered fetch has no call site.

  • One-program view gate (the #3127 held worklist ops_held.rs (get_held_worklist)): canopy-eligibility’s held list reads one program and checks no program scope, so the page’s selector offers only the worker’s canonical slugs and ScopeDenied::view_gate refuses any other program= (403, an unknown slug 422) before the one read.

  • Artifact authorization (notice PDF, document bytes): the artifact is authorized by its OWNING case (the notice’s program or its household’s participation; the document’s application programs_requested) before a byte streams — possession of the id is not access.

  • Panels are compile-time plugins dispatched by slug, invisible to the route walker: the per-panel matrix is the PANEL_SCOPE_POLICY exhaustiveness test in services/canopy-web/src/dashboard/panels/mod.rs (every panel slug; per-program panels render an explicit scoped-out card, never a fetch).

  • Audit surfaces (#1519): audit rows carry the authoritative programs set upstream (canopy-security: publisher envelope assertion → routing-key derivation → curated neutral families → NULL); the audit page, CSV export, the dashboard panel, the case-detail Audit section and the Activity tab all send the worker’s programs= query-time, and citation-by-id authorizes against the ROW’s set (neutral admits; overlap required; a no-assertion row is a 404 before attestation is even consulted). The BFF’s event_program classifier is retired as an authorization input. Pre-#1519 rows have no assertion and drop from every scoped worker’s view — the recorded forward-only posture (see the 20261128000000 migration header and security-operations.adoc).

  • /sse (#1520): the stream emits minimal invalidation messages (routing key + household id — never the envelope, which pre-#1520 carried every program’s determination and notice payloads to every authenticated worker); each connection filters fail-closed on the event’s program metadata (publisher assertion, else routing-key derivation, else NOT delivered — the #1519 precedence), and a mid-connection scope change terminates the stream so the browser reconnects through the full auth path. Read-denial shape unification: #1526.

Live disclosure regression: tests/e2e/specs/program-scope-reads.spec.ts (the tanf-only worker, whose legitimate universe is the seed’s one snap+tanf household).

Compiled call graph

The call graph canopy compiles (ADR-049 §4, Amendment 4): one row per (caller, target) pair a canopy client may call, from canopy_auth::identity_policy::edges() in crates/canopy-auth/src/identity_policy/call_graph.rs, whose per-caller doc comments name the call sites behind each kind. A delegation edge admits a delegation token, a system edge a system token, and a both edge either; a pair with no row carries nothing.

The table is generated: cargo xtask call-graph doc prints it, one row per edge, sorted by caller id then target id as the census sorts its pairs. cargo xtask call-graph check, the call-graph validate stage (#2644), fails on any difference between this table and the compiled graph, in either direction and kinds included, and on any difference between the compiled graph and the census of peer settings (cargo xtask call-graph census; the naming convention it reads is in Coding Conventions): an observed pair that is not compiled, an observed sender that is no compiled client, or a compiled pair no setting names. There is no allowlist: an exception is a compiled edge with its doc comment.

Caller Target Kind

canopy-appeals

canopy-applications

both

canopy-appeals

canopy-enrollment

both

canopy-appeals

canopy-snap

delegation

canopy-appeals

canopy-wic

system

canopy-applications

canopy-eligibility

both

canopy-applications

canopy-persons

both

canopy-applications

canopy-renewals

delegation

canopy-applications

canopy-verification

both

canopy-caps

canopy-rules

system

canopy-caps

canopy-security

system

canopy-cli

canopy-appeals

delegation

canopy-cli

canopy-applications

delegation

canopy-cli

canopy-caps

delegation

canopy-cli

canopy-eligibility

delegation

canopy-cli

canopy-medicaid

delegation

canopy-cli

canopy-notices

delegation

canopy-cli

canopy-persons

delegation

canopy-cli

canopy-renewals

delegation

canopy-cli

canopy-reporting

delegation

canopy-cli

canopy-rules

delegation

canopy-cli

canopy-security

delegation

canopy-cli

canopy-snap

delegation

canopy-cli

canopy-tanf

delegation

canopy-cli

canopy-wic

delegation

canopy-eligibility

canopy-applications

both

canopy-eligibility

canopy-caps

delegation

canopy-eligibility

canopy-eligibility

system

canopy-eligibility

canopy-enrollment

both

canopy-eligibility

canopy-medicaid

both

canopy-eligibility

canopy-persons

both

canopy-eligibility

canopy-renewals

both

canopy-eligibility

canopy-rules

system

canopy-eligibility

canopy-security

system

canopy-eligibility

canopy-snap

both

canopy-eligibility

canopy-tanf

both

canopy-eligibility

canopy-verification

both

canopy-eligibility

canopy-wic

delegation

canopy-enrollment

canopy-applications

delegation

canopy-medicaid

canopy-persons

system

canopy-medicaid

canopy-rules

system

canopy-medicaid

canopy-security

system

canopy-notices

canopy-applications

system

canopy-notices

canopy-persons

system

canopy-portal

canopy-applications

system

canopy-portal

canopy-eligibility

system

canopy-portal

canopy-enrollment

system

canopy-portal

canopy-notices

system

canopy-portal

canopy-persons

system

canopy-portal

canopy-renewals

system

canopy-portal

canopy-security

system

canopy-portal

canopy-snap

system

canopy-portal

canopy-verification

system

canopy-renewals

canopy-eligibility

both

canopy-renewals

canopy-enrollment

system

canopy-renewals

canopy-persons

system

canopy-reporting

canopy-applications

system

canopy-reporting

canopy-caps

system

canopy-reporting

canopy-enrollment

system

canopy-reporting

canopy-medicaid

both

canopy-reporting

canopy-persons

system

canopy-reporting

canopy-renewals

system

canopy-reporting

canopy-snap

both

canopy-reporting

canopy-tanf

both

canopy-snap

canopy-enrollment

both

canopy-snap

canopy-persons

both

canopy-snap

canopy-rules

system

canopy-snap

canopy-security

system

canopy-snap

canopy-verification

system

canopy-tanf

canopy-persons

system

canopy-tanf

canopy-rules

system

canopy-tanf

canopy-security

system

canopy-verification

canopy-applications

both

canopy-verification

canopy-persons

both

canopy-web

canopy-appeals

delegation

canopy-web

canopy-applications

delegation

canopy-web

canopy-caps

delegation

canopy-web

canopy-eligibility

delegation

canopy-web

canopy-enrollment

delegation

canopy-web

canopy-medicaid

delegation

canopy-web

canopy-notices

delegation

canopy-web

canopy-persons

delegation

canopy-web

canopy-renewals

delegation

canopy-web

canopy-reporting

delegation

canopy-web

canopy-security

both

canopy-web

canopy-snap

delegation

canopy-web

canopy-tanf

delegation

canopy-web

canopy-verification

delegation

canopy-web

canopy-wic

delegation

canopy-wic

canopy-rules

system

canopy-wic

canopy-security

system

Delegated routes (canopy-identity)

The named admissions of canopy_auth::delegated (ADR-049 Amendment 15): the routes a delegation caller reaches — canopy-web, canopy-cli, or a service inside a worker’s request — each admitted by its row’s constant, the route’s translated bar plus one via arm naming exactly those callers with the roles their pages let through. System is the system arm (any client but the portal, or the listed clients); Portal the portal arm’s scope; Users the roles admitting a user through any actor; Via and Via roles the via arm. A role set is the bar constant it equals in crates/canopy-auth/src/roles.rs, else its roles.

The table is generated from canopy_auth::delegated_routes(), whose rows are the named admissions in crates/canopy-auth/src/delegated.rs, each citing its handler and named <SERVICE>_<METHOD>_<PATH WORDS> for the handler to admit with: cargo xtask delegated-routes doc prints it, sorted by service, path and method. cargo xtask delegated-routes check, the delegated-routes validate stage (#2802), fails on any difference between this table and the compiled one, and on a listed route its service does not register, by a syn census of each router’s .route(…) calls through the contract path constants.

Service Method Path System Portal Users Via Via roles

canopy-appeals

GET

/v1/appeals/hearings/upcoming

—

—

—

canopy-web

SUPERVISOR_VIEW_ROLES

canopy-appeals

GET

/v1/appeals/queue

—

—

—

canopy-web

WORKER_READER_ROLES

canopy-appeals

GET

/v1/appeals/{id}

—

—

—

canopy-web

CASEWORKER_WRITER_ROLES

canopy-appeals

GET

/v1/appeals

—

—

—

canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/administrative-denials/{id}

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-appeals, canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/applications/caseload-trend

any

—

—

canopy-cli

CASEWORKER_OR_ABOVE_ROLES

canopy-applications

GET

/v1/applications/day30-shadow-findings

any

—

—

canopy-web

admin, supervisor

canopy-applications

GET

/v1/applications/{id}/agency-pends

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/applications/{id}/determination-context

any

—

—

canopy-eligibility

CASEWORKER_WRITER_ROLES

canopy-applications

GET

/v1/applications/{id}/documents/{document_id}/content

any

—

—

canopy-web

WORKER_READER_ROLES

canopy-applications

POST

/v1/applications/{id}/documents/{document_id}/rescan

any

—

—

canopy-cli

admin, supervisor

canopy-applications

GET

/v1/applications/{id}/documents

any

portal:applications:read

—

canopy-web

CASE_READER_ROLES

canopy-applications

POST

/v1/applications/{id}/interview/waive

any

—

—

canopy-cli

CASEWORKER_WRITER_ROLES

canopy-applications

GET

/v1/applications/{id}/interviews

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/applications/{id}/programs/snap/postponement

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/applications/{id}/programs/snap/reopen/eligibility

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/applications/{id}/programs/snap/reopen/episodes

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/applications/{id}/sections

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

DELETE

/v1/applications/{id}

any

—

—

canopy-cli

CASEWORKER_WRITER_ROLES

canopy-applications

GET

/v1/applications/{id}

any

portal:applications:read

—

canopy-cli, canopy-eligibility, canopy-verification, canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/applications

any

—

—

canopy-cli, canopy-web

WORKER_READER_ROLES

canopy-applications

POST

/v1/applications

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-applications

GET

/v1/assignments/household-ids

any

—

—

canopy-eligibility, canopy-verification

CASEWORKER_OR_ABOVE_ROLES

canopy-applications

GET

/v1/households/{household_id}/assignments

any

—

—

canopy-enrollment, canopy-web

CASEWORKER_OR_ABOVE_ROLES

canopy-applications

GET

/v1/households/{household_id}/authorized-representatives

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

GET

/v1/persons/{person_id}/rep-disqualifications

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-applications

POST

/v1/rep-disqualifications/{id}/cancel

any

—

admin, supervisor

canopy-appeals

CASEWORKER_WRITER_ROLES

canopy-caps

GET

/v1/asset-certifications

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-caps

GET

/v1/authorizations/{id}/notes

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-caps

GET

/v1/child-care-needs

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-caps

GET

/v1/determinations/{id}/authorizations

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-caps

GET

/v1/determinations/{id}/snapshot

any

—

admin, quality_control

canopy-eligibility

CASEWORKER_OR_ABOVE_ROLES

canopy-caps

GET

/v1/determinations

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-caps

GET

/v1/held-determinations

—

—

—

canopy-eligibility

admin, eligibility_specialist, supervisor

canopy-caps

GET

/v1/parent-activities

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-caps

GET

/v1/providers/{id}

any

—

—

canopy-web

CASE_READER_ROLES

canopy-eligibility

GET

/v1/eligibility/case-status

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-eligibility

GET

/v1/eligibility/cross-program-alerts/all

—

—

admin, supervisor

canopy-web

admin, studio_admin, supervisor

canopy-eligibility

GET

/v1/eligibility/determinations

any

portal:determinations:read

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-eligibility

GET

/v1/eligibility/households/{household_id}/quarantined-determinations/count

—

—

—

canopy-web

CASE_READER_ROLES

canopy-enrollment

PUT

/v1/adverse-actions/{id}/stays/{appeal_id}

any

—

—

canopy-appeals

CASEWORKER_WRITER_ROLES

canopy-enrollment

GET

/v1/adverse-actions/{id}

any

—

—

canopy-appeals, canopy-web

CASEWORKER_WRITER_ROLES

canopy-enrollment

GET

/v1/adverse-actions

any

—

—

canopy-web

CASE_READER_ROLES

canopy-enrollment

GET

/v1/enrollments/live

any

—

—

canopy-eligibility, canopy-snap

CASEWORKER_WRITER_ROLES

canopy-enrollment

GET

/v1/enrollments/{id}/issuances

any

—

—

canopy-web

CASE_READER_ROLES

canopy-enrollment

POST

/v1/enrollments/{id}/issue

any

—

—

canopy-web

CASEWORKER_WRITER_ROLES

canopy-enrollment

GET

/v1/enrollments

any

—

—

canopy-web

CASE_READER_ROLES

canopy-enrollment

POST

/v1/enrollments

any

—

—

canopy-web

CASEWORKER_WRITER_ROLES

canopy-enrollment

POST

/v1/households/enrollments:batchGet

any

—

—

canopy-web

WORKER_READER_ROLES

canopy-medicaid

GET

/v1/applications/{id}/categories

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/cmd/escalations

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/cmd/events

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/cooperation-findings

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/demonstration-activity-counts

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/demonstration-activity-reports

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/determinations

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/ele/household/{household_id}

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/held-determinations

—

—

—

canopy-eligibility

admin, eligibility_specialist, supervisor

canopy-medicaid

GET

/v1/households/{household_id}/determinations/newest

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-medicaid

GET

/v1/overpayments

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-reporting

CASE_READER_ROLES

canopy-notices

GET

/v1/notices/{id}/pdf

—

portal:notices:read

—

canopy-web

WORKER_READER_ROLES

canopy-notices

GET

/v1/notices/{id}

—

portal:notices:read

—

canopy-web

WORKER_READER_ROLES

canopy-notices

GET

/v1/notices

—

portal:notices:read

—

canopy-web

WORKER_READER_ROLES

canopy-persons

GET

/v1/households/{id}/full

any

—

—

canopy-cli, canopy-eligibility, canopy-snap, canopy-web

CASE_READER_ROLES

canopy-persons

DELETE

/v1/households/{id}/homelessness/{fact_id}

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

POST

/v1/households/{id}/homelessness

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

DELETE

/v1/households/{id}/members/claims/{fact_id}

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

POST

/v1/households/{id}/members/claims

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

GET

/v1/households/{id}

any

—

—

canopy-cli, canopy-eligibility, canopy-verification, canopy-web

WORKER_READER_ROLES

canopy-persons

POST

/v1/households:batchGet

any

—

—

canopy-applications, canopy-verification, canopy-web

WORKER_READER_ROLES

canopy-persons

POST

/v1/households

any

—

—

canopy-cli

CASEWORKER_WRITER_ROLES

canopy-persons

DELETE

/v1/persons/{id}/addresses/claims/{fact_id}

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

POST

/v1/persons/{id}/addresses/claims

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

GET

/v1/persons/{id}/addresses

any

—

—

canopy-web

CASE_READER_ROLES

canopy-persons

POST

/v1/persons/{id}/assets/claims

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

GET

/v1/persons/{id}/assets

any

—

—

canopy-cli

CASEWORKER_OR_ABOVE_ROLES

canopy-persons

POST

/v1/persons/{id}/expenses/claims

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

GET

/v1/persons/{id}/expenses

any

—

—

canopy-cli

CASEWORKER_OR_ABOVE_ROLES

canopy-persons

DELETE

/v1/persons/{id}/income/claims/{fact_id}

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

POST

/v1/persons/{id}/income/claims

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

GET

/v1/persons/{id}/income/proposals

any

—

—

canopy-cli, canopy-web

WORKER_READER_ROLES

canopy-persons

POST

/v1/persons/{id}/income/proposals

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

GET

/v1/persons/{id}/income

any

—

—

canopy-cli, canopy-web

WORKER_READER_ROLES

canopy-persons

DELETE

/v1/persons/{id}/parents/claims/{fact_id}

any

—

—

canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

POST

/v1/persons/{id}/parents/claims

any

—

—

canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

POST

/v1/persons/{id}/pregnancies

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

DELETE

/v1/persons/{id}

any

—

—

canopy-cli

admin, supervisor

canopy-persons

GET

/v1/persons/{id}

any

—

—

canopy-cli, canopy-web

CASE_READER_ROLES

canopy-persons

PUT

/v1/persons/{id}

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

POST

/v1/persons:batchGet

any

—

—

canopy-applications, canopy-web

WORKER_READER_ROLES

canopy-persons

GET

/v1/persons

any

—

—

canopy-cli, canopy-web

WORKER_READER_ROLES

canopy-persons

POST

/v1/persons

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-persons

DELETE

/v1/pregnancies/{fact_id}

any

—

—

canopy-cli, canopy-web

CASEWORKER_WRITER_ROLES

canopy-renewals

POST

/v1/renewals/caseload-rollup/refresh

any

—

—

canopy-cli

admin

canopy-renewals

GET

/v1/renewals/caseload-trend

any

—

—

canopy-cli, canopy-web

CASE_READER_ROLES

canopy-renewals

GET

/v1/renewals/overdue

any

—

—

canopy-web

CASE_READER_ROLES

canopy-renewals

GET

/v1/renewals/snap/certifications/{id}

any

—

—

canopy-applications

CASEWORKER_WRITER_ROLES

canopy-renewals

GET

/v1/renewals/snap/certifications

any

portal:certifications:read

—

canopy-eligibility, canopy-web

WORKER_READER_ROLES

canopy-renewals

GET

/v1/renewals/snap/due

any

—

—

canopy-web

WORKER_READER_ROLES

canopy-renewals

GET

/v1/renewals/snap/interim-contacts/due

any

—

—

canopy-web

CASE_READER_ROLES

canopy-renewals

GET

/v1/renewals/snap/nudges

any

—

—

canopy-cli, canopy-web

CASE_READER_ROLES

canopy-renewals

GET

/v1/renewals/{program}/due

any

—

—

canopy-web

WORKER_READER_ROLES

canopy-reporting

GET

/v1/reporting/overpayments/summary

—

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

SUPERVISOR_VIEW_ROLES

canopy-rules

POST

/v1/evaluate

any

—

—

canopy-cli

CASEWORKER_OR_ABOVE_ROLES

canopy-rules

GET

/v1/rule-sets/{name}

any

—

—

canopy-cli

CASEWORKER_OR_ABOVE_ROLES

canopy-rules

GET

/v1/rule-sets

any

—

—

canopy-cli

CASEWORKER_OR_ABOVE_ROLES

canopy-security

GET

/v1/security/alerts

any

—

admin

canopy-cli

AUDIT_READER_ROLES

canopy-security

GET

/v1/security/chain/attest

any

—

admin

canopy-cli, canopy-web

AUDIT_READER_ROLES

canopy-security

GET

/v1/security/chain/status

any

—

admin

canopy-cli, canopy-web

WORKER_READER_ROLES

canopy-security

GET

/v1/security/events/{id}

any

—

admin

canopy-cli, canopy-web

AUDIT_READER_ROLES

canopy-security

GET

/v1/security/events

any

—

admin

canopy-cli, canopy-web

WORKER_READER_ROLES

canopy-security

GET

/v1/security/nist-controls

any

—

admin

canopy-cli

AUDIT_READER_ROLES

canopy-security

GET

/v1/security/persons/{person_id}/fact-history/{resource}

any

—

admin

canopy-cli, canopy-web

WORKER_READER_ROLES

canopy-security

GET

/v1/security/summary

any

—

admin

canopy-cli

AUDIT_READER_ROLES

canopy-snap

GET

/v1/abawd/tracking

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-snap

GET

/v1/determinations/{id}/hearing-view

any

—

—

canopy-appeals, canopy-cli, canopy-web

CASE_READER_ROLES

canopy-snap

GET

/v1/determinations/{id}/snapshot

any

—

admin, quality_control

canopy-eligibility

CASEWORKER_OR_ABOVE_ROLES

canopy-snap

GET

/v1/determinations

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-snap

POST

/v1/determine/dry-run

any

—

—

canopy-eligibility

CASEWORKER_OR_ABOVE_ROLES

canopy-snap

GET

/v1/held-determinations

—

—

—

canopy-eligibility

admin, eligibility_specialist, supervisor

canopy-snap

GET

/v1/households/{household_id}/work-registrations

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-snap

GET

/v1/households/{household_id}/work-sanctions

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-snap

GET

/v1/overpayments

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-reporting

CASE_READER_ROLES

canopy-snap

GET

/v1/params

any

portal:snap-params:read

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-snap

GET

/v1/tsnap

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-snap

GET

/v1/verification/discrepancies

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-cli, canopy-web

CASE_READER_ROLES

canopy-tanf

GET

/v1/determinations

canopy-reporting

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-tanf

GET

/v1/held-determinations

—

—

—

canopy-eligibility

admin, eligibility_specialist, supervisor

canopy-tanf

GET

/v1/overpayments

canopy-reporting

—

CASEWORKER_OR_ABOVE_ROLES

canopy-reporting

CASE_READER_ROLES

canopy-tanf

GET

/v1/tanf/sanctions/rollup

canopy-reporting

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

SUPERVISOR_VIEW_ROLES

canopy-tanf

GET

/v1/time-limits/{person_id}

canopy-reporting

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-tanf

POST

/v1/time-limits:batchGet

canopy-reporting

—

—

canopy-web

CASE_READER_ROLES

canopy-tanf

POST

/v1/work-requirements/activities/summary:batchGet

canopy-reporting

—

—

canopy-web

CASE_READER_ROLES

canopy-tanf

POST

/v1/work-requirements/work-standard-basis:batchGet

canopy-reporting

—

—

canopy-web

CASE_READER_ROLES

canopy-tanf

GET

/v1/work-requirements/{person_id}/activities

canopy-reporting

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-tanf

GET

/v1/work-requirements/{person_id}

canopy-reporting

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-tanf

POST

/v1/work-requirements:batchGet

canopy-reporting

—

—

canopy-web

CASE_READER_ROLES

canopy-verification

POST

/internal/v1/ssa/solq

canopy-eligibility

—

—

canopy-eligibility

CASEWORKER_WRITER_ROLES

canopy-verification

POST

/v1/verifications/batch-context

canopy-applications

—

—

canopy-applications

WORKER_READER_ROLES

canopy-verification

POST

/v1/verifications/cancel-open

canopy-applications

—

—

canopy-applications

CASEWORKER_WRITER_ROLES

canopy-verification

GET

/v1/verifications/ievs/discrepancies

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-verification

GET

/v1/verifications/scoped

—

—

—

canopy-web

CASEWORKER_OR_ABOVE_ROLES

canopy-verification

GET

/v1/verifications/{id}/responses

any

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-verification

GET

/v1/verifications

any

portal:verifications:read

CASEWORKER_OR_ABOVE_ROLES

canopy-web

WORKER_READER_ROLES

canopy-wic

GET

/v1/breastfeeding-statuses

—

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-wic

GET

/v1/determinations/{id}/snapshot

—

—

admin, quality_control

canopy-eligibility

CASEWORKER_OR_ABOVE_ROLES

canopy-wic

GET

/v1/determinations

—

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-wic

GET

/v1/held-determinations

—

—

—

canopy-eligibility

admin, eligibility_specialist, supervisor

canopy-wic

GET

/v1/nutritional-risk-assessments

—

—

CASEWORKER_OR_ABOVE_ROLES

canopy-web

CASE_READER_ROLES

canopy-wic

GET

/v1/wic/appointments/upcoming

—

—

—

canopy-web

CASE_READER_ROLES

Caller manifest

Every client’s calls, edge by edge, as the compiled call graph’s slice docs name them (crates/canopy-auth/src/identity_policy/call_graph.rs, each caller’s doc comment naming the call sites behind each kind). canopy-identity mints a token only along a compiled edge, and every receiver checks the edge again (a delegation’s current actor must hold a delegation edge to it, a system token’s client a system edge).

Where a bearer comes from:

  • canopy-web — per request, WebSender::calls over the worker’s web session gives an Arc<WebOutbound> that mints the worker’s delegation for each target (auth::Outbound, services/canopy-web/src/auth/serve.rs); its own system token (WebSender::system_bearer) serves only canopy-security’s worker directory.

  • A service — inside a request, its handlers send through the request’s outbound (canopy_auth::RequestOutbound, inserted inside the receiver by request_outbound_middleware): for a user caller, the user’s delegation carried onward, the service its current actor; for a system caller, the service’s own system token. Work no request owns (schedulers, MQ consumers, durable retries, boot) and shared bookkeeping (the canopy-validators existence probes, canopy-appeals' adverse-action client) send through the service’s IdentitySender, system origin. Each send goes through canopy_auth::send_with_retry, which mints once more only after a receiver refuses the bearer (refuses_the_bearer).

  • The portal — canopy_auth::PortalSender, its system token for each target carrying every portal:* scope of its purpose, plus the signed X-Canopy-Applicant claim on resource-keyed calls (services/canopy-portal/src/ownership.rs).

  • canopy-cli — DeviceClient::token(target) over the operator’s device session for the profile (canopy login).

Caller Delegation (a user’s request) System

canopy-web

every service but canopy-security; canopy-security’s audit-log, fact-history and activity reads

canopy-security: the worker observation (WorkerObservedSink) and the worker-name refill (ServiceClients::worker_names)

canopy-portal

—

canopy-applications, canopy-eligibility, canopy-enrollment, canopy-notices, canopy-persons, canopy-renewals, canopy-security (the detached applicant.session.minted audit ingest), canopy-snap (the parameter read), canopy-verification

canopy-cli

canopy-appeals, canopy-applications, canopy-caps, canopy-eligibility, canopy-medicaid, canopy-notices, canopy-persons, canopy-renewals, canopy-reporting, canopy-rules, canopy-security, canopy-snap, canopy-tanf, canopy-wic

—

canopy-appeals

canopy-applications: the contested record’s read at filing, the hearing view and the decision’s inline overturn; canopy-snap: the hearing view

canopy-applications: the overturn retry and the reconciliation; canopy-enrollment: the adverse-action client on every path (the filing’s binding and inline stay, the decision’s command, the assessment worker, the stay retry, the reconciliation); canopy-wic: the hearing hold on every path (the filing’s read and hold, the decision’s and withdrawal’s release or cancel, the hold retry), since canopy-wic’s hold routes admit no user

canopy-applications

canopy-eligibility, canopy-persons, canopy-renewals, canopy-verification, inside canopy-web’s or canopy-cli’s request (the inline saga drives, interviews, the representative bar, the renewal filing)

canopy-eligibility, canopy-persons, canopy-verification: the saga ticks, the finalize reconciler, the NOMI and day-30 legs, and the portal’s finalize and recovery

canopy-caps

—

canopy-rules (determine), canopy-security (the boot signing-key registration)

canopy-eligibility

canopy-applications, canopy-caps, canopy-enrollment, canopy-medicaid, canopy-persons, canopy-renewals, canopy-snap, canopy-tanf, canopy-verification, canopy-wic: a worker’s determine and its reads, carried onward

canopy-applications, canopy-enrollment, canopy-medicaid, canopy-persons, canopy-renewals, canopy-snap, canopy-verification: the saga- and order-driven and bulk runs; canopy-eligibility itself: the bulk and order self-calls; canopy-rules and canopy-security: bookkeeping reads

canopy-enrollment

canopy-applications: the household-assignment check for a user neither supervisor nor admin

—

canopy-medicaid

—

canopy-persons (the ELE consumers, heal pass and renewal tick), canopy-rules, canopy-security

canopy-notices

—

canopy-applications, canopy-persons: the work-item worker and the recovery consumer

canopy-renewals

canopy-eligibility: the change report’s income screen

canopy-eligibility, canopy-persons: the materiality consumer; canopy-enrollment: the scheduler and the system-only commands

canopy-reporting

canopy-medicaid, canopy-snap, canopy-tanf: the overpayment summary and export

canopy-applications, canopy-caps, canopy-enrollment, canopy-medicaid, canopy-persons, canopy-renewals, canopy-snap, canopy-tanf: the durable run worker

canopy-snap

canopy-enrollment, canopy-persons: the overpayment recompute

canopy-enrollment: the claim-screen pass; canopy-persons and canopy-verification: the detached IEVS task; canopy-rules; canopy-security

canopy-tanf

—

canopy-persons (the activities-summary batch canopy-reporting’s run worker calls), canopy-rules, canopy-security

canopy-verification

canopy-applications, canopy-persons: request_verifications from canopy-web; canopy-applications: the scoped pending feed’s assignment read (#2336)

canopy-applications, canopy-persons: the same handler from canopy-applications' postponement saga; canopy-persons: the IEVS callback

canopy-wic

—

canopy-rules (determine), canopy-security (the boot signing-key registration)

canopy-eligibility’s SSA SOLQ pre-dispatch is off in development (#2495). canopy-verification serves its IEVS, SAVE and SOLQ routes only in a noop-adapters build.

Services with no routes

canopy-exchange builds no receiver, and ApiServer mounts /v1 only behind one, so its empty routes() (services/canopy-exchange/src/api/mod.rs) stays unreachable: a route added there answers 404 until the service becomes a receiver (crates/canopy-api/src/lib.rs). It calls no service.

Edit this page · default