rbac
rbac copied to clipboard
bug: when use: ES5 var RBAC = require('rbac').default;
it's undefined
@reboy Just clashed with the same. Took a look at the export and what worked was:
const RBAC = require("rbac").RBAC;
@reboy @KIvanow even shorter:
const {RBAC} = require('rbac');