Skip to content

IRB/DUA approval workflow — from approval record to Cedar policy activation #99

Open

Description

@scttfrdmn

Problem

attest can evaluate whether a researcher has NIH approval (attest:nih-approval = true) but provides no workflow for recording that approval and activating the corresponding Cedar policy. The gap is the provisioning step between the compliance event and the technical control.

Workflow design

IRB approves researcher for protocol IRB-2025-042
  → qualify records: attest:irb-protocol-active=true, attest:irb-protocol-id
  
DUA signed for phs000178, expiry 2027-05-01
  → attest records: attest:nih-dua-id=DUA-2025-001, attest:nih-approval=true, expiry tag
  → Cedar policy cedar-nih-approved-user now evaluates as PERMIT for this principal
  
Countries-of-concern check performed for researcher
  → qualify records: attest:country=US, attest:coc-check-current=true
  → Cedar policy cedar-nih-country-restriction now passes
  
All three checks complete → researcher can access NihResource entities

Commands

# Record DUA signing (attest-side: writes nih-approval tags)
attest dua record \
  --user [email protected] \
  --dua-id DUA-2025-001 \
  --dataset phs000178 \
  --pi [email protected] \
  --expiry 2027-05-01

# List active DUAs with expiry status
attest dua list --sre genomics-lab

# Generate DUA closeout checklist
attest generate closeout --dua-id DUA-2025-001

Schema additions needed

  • DUARecord type in pkg/schema/types.go
  • attest:irb-protocol-id tag constant in pkg/schema/tags.go
  • attest:irb-protocol-active tag constant (already partially in principal resolver)

Related

  • qualify#36 (data access request workflow — qualify side of this pipeline)
  • attest#98 (SRE type catalog — DUA requirements per SRE type)
  • Existing: attest generate closeout already handles the end of this lifecycle

Activity

  1. added
    type/feature
    area/principal
    status/needs-design
    priority/high
    on Jun 8, 2026
  2. scttfrdmn commented on Jun 8, 2026

    @scttfrdmn
    CollaboratorAuthor

    Triage cross-link: the approval→Cedar-activation gap here overlaps qualify#36 (data-access request workflow) and qualify#35 (PI onboarding). attest owns the policy-activation step; qualify owns the request/approval UX. Worth designing the record hand-off jointly.

  3. scttfrdmn commented on Jun 9, 2026

    @scttfrdmn
    CollaboratorAuthor

    Dependency (post-kernel roadmap, #11): this (DUA approval workflow) blocks attest#100 (Cedar compute-to-data policy) and qualify#36 (data-access request workflow). Tag-schema versioning qualify#32 should land first if this touches attest:* tags.

  4. scttfrdmn commented on Jun 11, 2026

    @scttfrdmn
    CollaboratorAuthor

    Design recorded: ADR 0002 — Compute-to-data access (provabl umbrella).

    This issue (the approval lifecycle) is Decision 1: add attest approval (sibling to waiver/incident), which records the signed DUA as the existing schema.Attestation then activates by writing the attest:nih-* tags the resolver + cedar-nih-approved-user policy already consume — no new evaluation path. The DUA stays a human-affirmed record, not an evidence-kernel principal:// measurement.

    Build-order note: depends on the schema bump (Decision 4: nih_approval_dua_id → nih_approval_dua_ids set, coordinated with qualify#32) only for the plural tag; the record/activate mechanics are independent. See the ADR for the full chain and the attest#100 dataset-scoped policy this feeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/principalpriority/highstatus/needs-designtype/feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions