← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/java/accessPolicy/check.md
1 KB · Oct 4, 2026 · 12:23 UTC
<!-- sdk-ref package=ai.pairsys:goodmem-java registry=maven version=0.2.2 --> # accessPolicy.check Check effective authorization Evaluates 1 to 50 concrete operation-and-target checks under the authenticated caller's live authority and any API-key ceiling. Results are positional and advisory: missing targets and denied operations both return allowed=false, and every later resource request performs fresh authorization. Top-level creates and LIST_API_KEY target INSTANCE; CREATE_MEMORY and LIST_MEMORY target their parent SPACE; reads, mutations, proxy operations, and access-policy administration target concrete resources. LIST_RETRIEVE_MEMORY_LOG_POLICY is rejected because its current candidate-based list rule has no instance-wide preflight. ```java CheckAuthorizationsResponse check(CheckAuthorizationsRequest request) ``` [accessPolicy](../accessPolicy.md) · [Java](../../java.md) Related types — open only those used by your request: - [CheckAuthorizationsRequest](../models/CheckAuthorizationsRequest.md)
SHA-256: d609b1e23f49b461bdcc8b83586ad06cead603c85e9be51cda00fe61a8ab97ee