Skip to main content

Variable: ACLAction

const ACLAction: object

Defined in: service-core/src/security/AccessControlList.ts:12

A set of conventional action strings recognized by the built-in CRUD routes and RepoUtils. ACLRecord.actions is not limited to these values — any arbitrary string may be granted (e.g. "publish", "document:archive") to express permissions beyond basic CRUD.

Type Declaration

COUNT

readonly COUNT: "count" = "count"

CREATE

readonly CREATE: "create" = "create"

DELETE

readonly DELETE: "delete" = "delete"

EXISTS

readonly EXISTS: "exists" = "exists"

FULL

readonly FULL: "*" = "*"

Grants every action, including any action string not otherwise listed on the record. Supersedes all others.

LIST

readonly LIST: "list" = "list"

READ

readonly READ: "read" = "read"

TRUNCATE

readonly TRUNCATE: "truncate" = "truncate"

UPDATE

readonly UPDATE: "update" = "update"