code: def get_dashboard_panels_visibility_by_section(section_name):
      
      registry_info = get_dashboard_registry_record()
      if section_name not in registry_info:
          # Registry hasn't been set, do it at least for this section
          registry_info = \
              setup_dashboard_panels_visibility_registry(section_name)
  
      pairs = registry_info.get(section_name)
      pairs = get_strings(pairs)
      if pairs is None:
          # In the registry, but with None value?
          setup_dashboard_panels_visibility_registry(section_name)
          return get_dashboard_panels_visibility_by_section(section_name)
  
      pairs = pairs.split(',')
      if len(pairs) == 0 or len(pairs) % 2 != 0:
          # Non-valid or malformed value
          setup_dashboard_panels_visibility_registry(section_name)
          return get_dashboard_panels_visibility_by_section(section_name)
  
      result = [
          (pairs[i], pairs[i + 1]) for i in range(len(pairs)) if i % 2 == 0]
      return result
docs: Return a list of pairs as values that represents the role-permission
      view relation for the panel section passed in.
      :param section_name: the panels section id.
      :return: a list of tuples.