Action
Defined in: src/enums/Action.ts:7
Enumerates the possible actions of a role. An action defines the type of an operation that will be executed on a “resource” by a “role”. This is known as CRUD (CREATE, READ, UPDATE, DELETE).
Enumeration Members
Section titled “Enumeration Members”CREATE
Section titled “CREATE”CREATE:
"create"
Defined in: src/enums/Action.ts:12
Specifies a CREATE action to be performed on a resource. For example, an HTTP POST request or an INSERT database operation.
READ:
"read"
Defined in: src/enums/Action.ts:17
Specifies a READ action to be performed on a resource. For example, an HTTP GET request or an database SELECT operation.
UPDATE
Section titled “UPDATE”UPDATE:
"update"
Defined in: src/enums/Action.ts:22
Specifies an UPDATE action to be performed on a resource. For example, an HTTP PUT or POST request or an database UPDATE operation.
DELETE
Section titled “DELETE”DELETE:
"delete"
Defined in: src/enums/Action.ts:27
Specifies a DELETE action to be performed on a resource. For example, an HTTP DELETE request or a database DELETE operation.