Showing 1 of 1 total issue
Function role
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function role (schema, options) {
// Set the default options
options = Object.assign(
{
roles: [],