You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Track healthcare and IRB-controlled research use cases for secure-access-conditions deny semantics #338
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)
(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 } }
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?)
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.
Activity
melvincarvalho commentedon Apr 29, 2026
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
deny: { agent: <WebID> }allow only if: { client: <app-WebID-or-class> }(absence → deny)allow only if: { credential: { type: ProfessionalLicense, status: active } }allow only if: { time: { start: <iso>, end: <iso> } }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:Authorizationresource — adds aconditionpredicate 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
acl:defaultinheritanceThese 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.