Skip to content

QUERY_ACTIONS

const QUERY_ACTIONS: object

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

Actions whose read shape is a query rather than a single-document check — the only actions an indexed { filter, withIndex } permission check may target (design doc §3: withIndex on create/update/delete would narrow nothing, since those authorize one document, not a range).

readonly read: "read" = CRUD_ACTIONS.read

readonly readDrafts: "readDrafts" = DRAFT_ACTIONS.readDrafts