temporalui

package
v1.336.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package temporalui serves the upstream Temporal UI under PathPrefix through a read-only reverse proxy scoped to the caller's organization namespace.

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; the namespace list is replaced by the caller's namespace alone.

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

func Caller added in v1.330.0

func Caller(e *core.RequestEvent) (*core.Record, string, error)

Caller returns the authenticated user, read from the request auth or the `pb_auth` cookie, and the namespace of its organization. Other embedded UIs (actionauthorui) use it as their caller check.

func Handler

func Handler(target *url.URL) func(*core.RequestEvent) error

Handler proxies PathPrefix requests to the Temporal UI at target.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL