code: def test_get_dashboard_view__user_no_access_regular_rbac(self):
      if backend() == "hive":
          return
  
      slice = (
          db.session.query(Slice)
          .filter_by(slice_name="Girl Name Cloud")
          .one_or_none()
      )
      dashboard = create_dashboard_to_db(published=True, slices=[slice])
      self.login("gamma")
  
      # assert redirect on regular rbac access denied
      response = self.get_dashboard_view_response(dashboard)
      assert response.status_code == 302
  
      request_payload = get_query_context("birth_names")
      rv = self.post_assert_metric(
          CHART_DATA_URI, request_payload, "data"
      )
      assert rv.status_code == 403
      db.session.delete(dashboard)
      db.session.commit()
  
imports: import json
  from unittest import mock
  from unittest.mock import patch
  import pytest
  from superset.commands.dashboard.exceptions import DashboardForbiddenError
  from superset.daos.dashboard import DashboardDAO
  from superset.utils.core import backend, override_user
  from tests.integration_tests.conftest import with_feature_flags
  from tests.integration_tests.dashboards.dashboard_test_utils import *
  from tests.integration_tests.dashboards.security.base_case import BaseTestDashboardSecurity
  from tests.integration_tests.dashboards.superset_factory_util import create_dashboard_to_db, create_database_to_db, create_datasource_table_to_db, create_slice_to_db
  from tests.integration_tests.fixtures.birth_names_dashboard import load_birth_names_dashboard_with_slices, load_birth_names_data
  from tests.integration_tests.fixtures.public_role import public_role_like_gamma
  from tests.integration_tests.fixtures.query_context import get_query_context
  from tests.integration_tests.fixtures.world_bank_dashboard import load_world_bank_dashboard_with_slices, load_world_bank_data
label_desc: Use image node_id 5 for calling the TestDashboardRoleBasedSecurity obj's underlying member method code with example usage: obj.test_get_dashboard_view__user_no_access_regular_rbac() without return types