This commit is contained in:
Sebastian Seedorf
2020-11-16 17:06:34 +01:00
parent 4d520321e7
commit d58aa134ec
6 changed files with 14 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PermManager = exports.PermQuery = void 0;
exports.PermManager = exports.PermQuery = exports.PermissionManager = void 0;
const role_acl_1 = require("role-acl");
const Query_1 = require("role-acl/lib/src/core/Query");
// see https://www.npmjs.com/package/role-acl
@@ -37,6 +37,7 @@ class PermissionManager extends role_acl_1.AccessControl {
});
}
}
exports.PermissionManager = PermissionManager;
class PermQuery extends Query_1.Query {
constructor(grants, roleOrRequest) {
function isRequest(obj) {