code: def test_rbac_template_ntsc_create(kind: NTSC_Kind) -> None:
      admin_session = api_utils.determined_test_session(
          conf.ADMIN_CREDENTIALS
      )
      with rbac.create_workspaces_with_users(
          [
              [
                  (0, ["Editor"]),
                  (1, ["WorkspaceAdmin"]),
              ],
              [],
          ]
      ) as (workspaces, creds):
          _, tpl0 = setup_template_test(
              admin_session, workspaces[0].id, name="ntsc"
          )
          _, tpl1 = setup_template_test(
              admin_session, workspaces[1].id, name="ntsc"
          )
  
          experiment_id = None
          pid = bindings.post_PostProject(
              admin_session,
              body=bindings.v1PostProjectRequest(
                  name="test", workspaceId=workspaces[0].id
              ),
              workspaceId=workspaces[0].id,
          ).project.id
          with user.logged_in_user(conf.ADMIN_CREDENTIALS):
              experiment_id = exp.create_experiment(
                  conf.fixtures_path("no_op/single.yaml"),
                  conf.fixtures_path("no_op"),
                  ["--project_id", str(pid)],
              )
  
          for uid in creds:
              usession = api_utils.determined_test_session(creds[uid])
              api_utils.launch_ntsc(
                  usession,
                  workspaces[0].id,
                  kind,
                  exp_id=experiment_id,
                  template=tpl0.name,
              )
              e = None
              with pytest.raises(errors.APIException) as e:
                  api_utils.launch_ntsc(
                      usession,
                      workspaces[0].id,
                      kind,
                      exp_id=experiment_id,
                      template=tpl1.name,
                  )
              assert e.value.status_code == 404, e.value.message
  
imports: from typing import Optional, Tuple
  import pytest
  from determined.common import util
  from determined.common.api import NTSC_Kind, Session, bindings, errors
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests import template
  from tests.cluster import test_rbac
  from tests.cluster import test_users
label_desc: Use image node_id 15 for calling a global function with example usage: test_rbac_template_ntsc_create(kind) without return types