Skip to content

ALWAYS_READABLE_FIELD_KEYS

const ALWAYS_READABLE_FIELD_KEYS: Set<string>

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

Document keys a field map can neither gate nor strip for READS — always readable, regardless of any permission rule. Used by stripDeniedFields (never deletes these) and warnOnUndeclaredFields (warns rather than silently accepting one as a real per-field decision). Narrower than SYSTEM_FIELD_KEYS — _creationTime is excluded (it IS gateable for reads now); _id/_slug stay excluded from field-level gating entirely, the same set access/types.ts’s SystemFieldKey type enforces at compile time.