@geexbox/accesscontrol
Version:
Subject and Attribute based Access Control for Node.js
10 lines (9 loc) • 355 B
TypeScript
/**
* Enumerates the possible possessions of a resource, for an action.
* A possession defines whether the action is (or not) to be performed on "own"
* resource(s) of the current subject or "any" resources - including "own".
* @enum {String}
* @readonly
* @memberof! AccessControl
*/
export declare type Possession = 'own' | 'any';