Skip to content

isFieldReadable

isFieldReadable(resolved, field): boolean

Defined in: packages/core/src/access/resolveFieldPermissions.ts:260

Whether one field is READABLE under a resolved READ decision — isFieldAllowed plus the ALWAYS_READABLE_FIELD_KEYS exemption every reader of a resolved READ map must apply (_id/_slug are never gateable, never counted against a caller). The one check useCanReadField (@vexcms/react) and the hidden-saved-view-filter split (splitWhereByReadability, collections/savedListViews/whereReadability.ts) both call, so neither can drift from the other about what “readable” means.

ResolvedFieldPermissions

A resolved READ decision (resolveFieldPermissions with action: CRUD_ACTIONS.read).

string

The field key to check.

boolean

Whether field is readable.