Documentation
¶
Overview ¶
Package temporalui serves the upstream Temporal UI under PathPrefix through a read-only reverse proxy scoped to the caller's organization namespace and to the runner-namespace runs of its pipelines.
The embedded UI runs with auth disabled and is reachable only through this proxy, so the proxy is the security boundary:
- the caller is a Credimi user authenticated by the `pb_auth` cookie the webapp already keeps in sync with the PocketBase auth store;
- only GET and HEAD reach the UI, so no workflow can be started, signaled, cancelled, terminated or reset from it;
- API calls must target the caller's organization namespace or, as below, a runner namespace; the namespace list is replaced by the caller's namespace alone;
- in a runner namespace (runner-<runner record id>) only the pages and API calls of a workflow run the caller's organization owns (runnerworkflows.OwnedBy) are served, plus, when a pipeline run of the caller's organization used that runner (runnerworkflows.UsesRunner), the namespace description, its search attribute schema and the description of Credimi's PipelineTaskQueue, which those pages load.
HTML pages get embedHead, which fits the UI into a Credimi run page: no shell, light theme only, navigation kept on the embedded run.
Index ¶
Constants ¶
View Source
const PathPrefix = "/temporal-ui"
PathPrefix is the public path of the embedded UI; it must match the UI's TEMPORAL_UI_PUBLIC_PATH.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.