function isOrganizationAccessAllowed(input) {
  if (input.isSuperAdmin) return true;
  if (input.allowedOrganizationIds === null) return true;
  if (!input.targetOrganizationId) return false;
  return input.allowedOrganizationIds.includes(input.targetOrganizationId);
}
export {
  isOrganizationAccessAllowed
};
//# sourceMappingURL=organizationAccess.js.map
