function isSecured(operation) {
  if (_.has(this.schema.secured, operation)) {
    return this.schema.secured[operation];
  }
  else {
    return this.schema.secured.common || false;
  }
};

export default isSecured;
import _ from 'lodash';

function isSecured(operation) {
  if (_.has(this.schema.secured, operation)) {
    return this.schema.secured[operation];
  }
  else {
    return this.schema.secured.common || false;
  }
};

export default isSecured;
Fix lack of loads import
Fix lack of loads import
