Skip to main content

Module access_requests

Module access_requests 

Source
Expand description

Typed Study access-request persistence boundary.

This module owns the models shared by direct PostgreSQL and OAuth/libpq access-request operations. Callers use its records and semantic outcomes; they do not receive PostgreSQL rows, SQLSTATEs, or protocol DTOs.

Query operations are introduced incrementally. They must select access request fields as text using the projection order documented by the decode functions below, so one query definition can be run by both executor implementations.

Structs§

AccessRequestDatastoreId
Selected datastore identity carried by an access-request operation.
AccessRequestId
Identity of an access-request row.
AccessRequestSubmission
Input for submitting a Study access request.
AuthenticatedCustodianStudyAccessRequestPort
Application-port adapter over an already-authenticated OAuth/libpq metadata connection. Connection establishment remains outside pgmeta.
BorrowedAuthenticatedCustodianStudyAccessRequestPort
Application-port adapter borrowing an OAuth connection already retained by a live Trusted-runtime Session.
CustodianAccessRequestInspectionRecord
Persisted facts needed to classify a custodian inspection.
CustodianStudyAccessRequest
Custodian-visible projection of an access request.
CustodianStudyAccessRequestApproval
Input for a custodian’s governed approval of a Study access request.
CustodianStudyAccessRequestRejection
Input for a custodian’s rejection of a Study access request.
CustodianStudyAccessRequestScope
Scope used by a custodian inspection of a Study access request.
RequesterStudyAccessRequest
Requester-visible projection of an access request.
RequesterStudyAccessRequestScope
Scope used by requester-owned operations.
StudyAccessRequestDecision
Optional decision metadata stored after a request is decided.

Enums§

AccessRequestCustodianApprovalOutcome
Semantic result of a governed custodian approval attempt.
AccessRequestCustodianDecisionOutcome
Semantic result of a custodian approval or rejection attempt.
AccessRequestCustodianInspection
Semantic result of inspecting an access request as a custodian.
AccessRequestLifecycle
Persisted lifecycle of a Study access request.
AccessRequestSubmissionOutcome
Semantic result of submitting a request.
AccessRequestWithdrawalOutcome
Semantic result of a requester withdrawal attempt.

Traits§

StudyAccessRequestMetadataExecutor
Typed Study access-request operations supported by metadata connections.

Functions§

classify_custodian_decision
classify_custodian_inspection
classify_requester_withdrawal