async function get(userId) {
  const dashboards = await db.Dashboard.findAll({
    attributes: DEFAULT_FIELDS,
    where: {
      // I can see dashboard I created or public dashboard
      [Op.or]: [
        {
          user_id: userId,
        },
        {
          visibility: 'public',
        },
      ],
    },
    order: [['position', 'ASC']],
    raw: true,
  });
  return dashboards;
}
@description Get list of dashboard.
@param {string} userId - The userId querying.
@returns {Promise} Resolve with a list of dashboards.
@example
gladys.dashboard.get('8445dbc1-679f-4b36-8708-0e9801ac7ffe');