AccessGrant
A single access relationship between the current user and another agent over a resource, unified across every source the library can observe:
shares the user has given (from
given_shares.ttl),shares the user has received (from
received_shares.ttl),incoming access requests awaiting the user's decision (from the LDN inbox), and
grants discovered via Solid Application Interoperability (SAI) registries, when the pod exposes them.
This is the data behind a "who has access to what" overview. Items sourced from the app's own indexes (AccessGrantSource.APP_INDEX) are authoritative; AccessGrantSource.SAI_REGISTRY items are additive enrichment and may be absent on servers without SAI support.
Constructors
Properties
The other party in the relationship: the receiver for AccessGrantDirection.GIVEN, the owner for AccessGrantDirection.RECEIVED, the requester for AccessGrantDirection.INCOMING_REQUEST.
Whether this grant is one the user gave, received, or was asked for.
URI of the originating inbox request, present only for AccessGrantDirection.INCOMING_REQUEST so the caller can accept or reject it.
Resource the access concerns.
Where this row was observed.
Whether the access is already in effect or still awaiting a decision.