code: def get_dashboard_registry_record():
      
      try:
          registry = api.portal.get_registry_record(
              'bika.lims.dashboard_panels_visibility')
          return registry
      except InvalidParameterError:
          # No entry in the registry for dashboard panels roles.
          # Maybe upgradestep 1.1.8 was not run?
          logger.warn("Cannot find a record with name "
                      "'bika.lims.dashboard_panels_visibility' in "
                      "registry_record. Missed upgrade 1.1.8?")
      return dict()
docs: Return the 'bika.lims.dashboard_panels_visibility' values.
      :return: A dictionary or None