Skip to content

Track healthcare and IRB-controlled research use cases for secure-access-conditions deny semantics #338

Open

Description

@melvincarvalho

Per public-solid (April 29, 2026, 00:51 CET), Erich Bremer (Director for Applied Informatics, Department of Biomedical Informatics, Stony Brook University) raised that canonical Solid use cases for patient-held medical data and IRB-controlled research require explicit deny semantics, not just absence-of-grant.

Use cases named

  • Patient grants access to specific clinicians; denies access to others (explicit deny)
  • Application-gated access (specific clients, not all)
  • Verifiable-credential-gated access (e.g., "any licensed practitioner in good standing")
  • Time-bounded access for an episode of care
  • IRB-credential-gated research access (scoped to a protocol, bounded by approval window)

Current JSS status

JSS implements secure-access-conditions — fail-closed model with explicit deny via condition evaluation.

Roadmap

  • Audit secure-access-conditions coverage against each named use case
  • Add test cases for healthcare scenarios (clinician access, patient revocation, credentialed access)
  • Add test cases for IRB scenarios (protocol-scoped access, approval-window bounding)
  • Document healthcare/research integration patterns

References

Activity

  1. melvincarvalho commented on Apr 29, 2026

    @melvincarvalho
    ContributorAuthor

    Sketch: deny-semantics design direction

    (Forward-looking; not in the current spec text yet — this comment captures the design direction for the use cases above.)

    1. Explicit deny construct

    A condition that, when evaluated TRUE for an (agent, client, time) tuple, denies access regardless of any matching grants.

    2. Evaluation order

    Deny conditions evaluated before grant conditions. If any deny matches, return 403 without further evaluation. (Fail-closed default already covers the case where evaluation itself fails.)

    3. Condition expressiveness — mapped to the use cases

    Use case Sketch construct
    Patient denies specific clinician deny: { agent: <WebID> }
    Application-gated access allow only if: { client: <app-WebID-or-class> } (absence → deny)
    VC-gated ("good standing") allow only if: { credential: { type: ProfessionalLicense, status: active } }
    Time-bounded (episode of care) allow only if: { time: { start: <iso>, end: <iso> } }
    IRB-protocol-scoped research allow only if: { credential: { type: IRBApproval, protocol: <id>, validUntil: <date> } }

    4. Composition

    Conditions compose with AND (default within a single rule) and OR (across rules). Deny rules and allow rules can be combined; deny wins on match.

    5. WAC compatibility

    The construct sits as a layer above WAC's acl:Authorization resource — adds a condition predicate whose value is evaluated at request time. Servers that don't understand the construct fall back to fail-closed (treat as deny). Clients that don't understand it can still read the WAC fragments they recognise.

    6. Open questions

    • Verifiable-credential format (W3C VC Data Model 2.0?)
    • Time-bounding granularity (instant / window / both?)
    • Composition with WAC's existing acl:default inheritance
    • Server-side credential verification (online vs offline)

    These are the spec-evolution items that need formalisation. Filing this as a sketch so the design direction is captured while it's relevant — formal spec text to follow.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions