Expand description
Study access-request submission workflow and its application port. Study access-request workflows.
This module owns the application semantics of a browser visitor submitting a governance request. Transport adapters supply the selected datastore and requester identity, while persistence adapters implement the narrow port.
Structs§
- Approve
Custodian Study Access Request - Application-safe input for approving a pending Study access request.
- Custodian
Study Access Request - Custodian-visible application record for a Study access request.
- Custodian
Study Access Request Decision - Decision facts visible to a custodian reviewing a Study access request.
- Custodian
Study Access Requests - Application-safe scope for requests visible to the authenticated custodian.
- Provision
Study Access Request Workflow Entry - Input for provisioning the requester with datastore workflow entry.
- Ready
Access Request Datastore - A ready datastore target selected by a control-plane identity adapter.
- Record
Custodian Study Access Request Approval - Application-safe input for the governed grant-and-decision operation.
- Reject
Custodian Study Access Request - Application-safe input for rejecting a pending Study access request.
- Requester
Study Access Request - Requester-visible application record for a Study access request.
- Requester
Study Access Requests - Application-safe scope for requester-owned access-request operations.
- Study
Access Request Decision - Optional decision facts visible to the requester.
- Submit
Study Access Request - Application-safe input for submitting a Study access request.
- Submitted
Study Access Request - Persisted result of a successful Study access-request submission.
Enums§
- Custodian
Study Access Request Approval Outcome - Semantic result of recording a governed custodian approval.
- Custodian
Study Access Request Approval Preflight - Result of checking whether an authenticated custodian can approve a request before the requester receives datastore workflow entry.
- Custodian
Study Access Request Error - Application failures for custodian-owned access-request lifecycle actions.
- Custodian
Study Access Request Port Error - Infrastructure and persisted-lifecycle failures exposed by custodian ports.
- Custodian
Study Access Request Rejection Outcome - Semantic persistence outcomes for a custodian rejection attempt.
- Custodian
Study Access Request Status Filter - Lifecycle filters supported by the custodian review list.
- Requester
Study Access Request Error - Application failures for requester-owned access-request lifecycle actions.
- Requester
Study Access Request Port Error - Infrastructure and persisted-lifecycle failures exposed by requester ports.
- Requester
Study Access Request Withdrawal Outcome - Semantic persistence outcomes for withdrawing a requester-owned request.
- Study
Access Request Lifecycle - Application-safe requester-visible lifecycle of a Study access request.
- Study
Access Request Submission Outcome - Semantic persistence outcomes for a Study access-request submission.
- Study
Access Request Submission Port Error - Infrastructure failures exposed by a Study access-request submission port.
- Study
Access Request Workflow Entry Port Error - Infrastructure failures exposed by the datastore workflow-entry port.
- Submit
Study Access Request Error - Application failures for submitting a Study access request.
Traits§
- Custodian
Study Access Request Port - Authenticated-database authority used by custodian decision workflows. Implementations derive custodianship from the current database actor rather than accepting it as application input.
- Custodian
Study Access Request Queue Port - Narrow authenticated-database authority used by the custodian review list.
- Ready
Access Request Datastore Resolver - Resolves a selected datastore identity before the dedicated access-request authority is opened.
- Requester
Study Access Request Port - Narrow persistence authority used by requester lifecycle workflows.
- Study
Access Request Submission Port - Narrow persistence authority used by the submission workflow.
- Study
Access Request Workflow Entry Port - Narrow authority that creates or reuses datastore workflow entry for a requester. Implementations must be idempotent: a retry after a later governed-decision failure keeps any entry already in place.
Functions§
- approve_
custodian_ study_ access_ request - Approves a pending Study access request in three ordered steps: verify the authenticated custodian’s scoped request, provision or reuse requester workflow entry in that request’s datastore, then record the governed Study-access grant and decision. If the final step fails, workflow entry is deliberately retained; a retry safely provisions it again and re-runs only the governed decision without attempting compensation.
- get_
requester_ study_ access_ request - Finds an access request only when it is owned by the current requester in the selected datastore.
- list_
custodian_ study_ access_ requests - Lists Study access requests in one supported status that the authenticated database actor is authorized to steward in the selected datastore.
- list_
requester_ study_ access_ requests - Lists access requests owned by the current requester in the selected datastore.
- reject_
custodian_ study_ access_ request - Rejects a pending Study access request when the authenticated database actor custodians its Study. Empty rejection reasons are normalized to none.
- submit_
study_ access_ request - Submits a pending Study access request without granting Study access or datastore workflow entry.
- withdraw_
requester_ study_ access_ request - Withdraws a pending access request only when it is owned by the current requester in the selected datastore. This workflow cannot grant access or provision datastore workflow entry.