code: function getRequiredRoleList (resourceType, resourceName, action, rbacIndex) {
    // What roles will allow this?
    const unrestricted = dottie.get(rbacIndex, '*.*.*') || []
    const unrestrictedInADomain = dottie.get(rbacIndex, `${resourceType}.*.*`) || []
    const anyActionOnASpecificResource = dottie.get(rbacIndex, `${resourceType}.${resourceName}.*`) || []
    const anyDomainResourceForASpecificAction = dottie.get(rbacIndex, `${resourceType}.*.${action}`) || []
    const specific = dottie.get(rbacIndex, `${resourceType}.${resourceName}.${action}`) || []
  
    return unrestricted.concat(
      unrestrictedInADomain,
      anyActionOnASpecificResource,
      anyDomainResourceForASpecificAction,
      specific
    )
  }
docs: checkRoleAuthorization