temporalio / temporalio/ui

CRUD operations on schedules are allowed when TEMPORAL_DISABLE_WRITE_ACTIONS is set to true

Open
#1,389 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
431
Forks
179
Avg merge
2d 9h
Merged PRs (30d)
71

Description

Describe the bug
All the CRUD operations on the schedules are allowed even if we set "TEMPORAL_DISABLE_WRITE_ACTIONS" environment variable to true for the UI component.

Expected behavior
Disallow operations like "Created Schedule", "Pause Schedule" and "Delete" schedules from the UI.

Screenshots
image

Screenshot where UI allows to create a schedule:
image

Temporal server version: 1.20.3
Temporal UI version: 2.15.0
Environment: Kubernetes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the UI component handling schedules and trace how TEMPORAL_DISABLE_WRITE_ACTIONS is read for schedule creation, pausing, and deletion. Reproduce with the variable set to true, then verify that these CRUD actions are unavailable while read-only schedule views remain usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.