UNPKG

@geexbox/accesscontrol

Version:

Subject and Attribute based Access Control for Node.js

11 lines (10 loc) 363 B
/** * Enumerates the possible actions of a subject. * An action defines the type of an operation that will be executed on a * "resource" by a "subject". * This is known as CRUD (CREATE, READ, UPDATE, DELETE). * @enum {String} * @readonly * @memberof! AccessControl */ export declare type Action = 'create' | 'read' | 'update' | 'delete';