AccessCheck
AccessCheck<
S> =PermissionCheck<AccessDocFor<S>,AuthUserDocument,AuthOrgDocument,AccessIndexFieldsFor<S>>
Defined in: packages/core/src/access/types.ts:470
The check type permissions[role][S][queryAction] accepts, with the project’s user
and organization documents resolved from the generated registry.
vex generate emits the slugs defineAccess was configured with
(AuthSlugs), so the project’s user and organization documents resolve from
the registry — nothing needs passing in, and a project’s helpers need no local
type aliases at all. AccessMutationCheck is the non-query counterpart: its q
is an AccessPredicateBuilder, no withIndex, because a single-document
authorization has no range to narrow (DD 14).
Type Parameters
Section titled “Type Parameters”S extends string
Resource slug.