UNPKG

@kurbar/access-control

Version:

Role, Attribute and Condition based Access Control for Node.js

18 lines (17 loc) 419 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TrueCondition = void 0; /** * True condition * * @author Dilip Kola <dilip@tensult.com> */ var TrueCondition = /** @class */ (function () { function TrueCondition() { } TrueCondition.prototype.evaluate = function () { return true; }; return TrueCondition; }()); exports.TrueCondition = TrueCondition;