feathersjs/feathers-permissions

View on GitHub
lib/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function checkPermissions has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function checkPermissions (options = {}) {
  const {
    entity: entityName = 'user',
    field = 'permissions',
    error = true
Severity: Minor
Found in lib/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status