temporalio / temporalio/ui

Allow for just-in-time fine-grained access control

Open
#3,118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.

In regulated industries every manual action taken in production systems needs to be accounted for. With the current access controls in Temporal Cloud it's only possible to grant access on the namespace level though. In strictly regulated industries we might need to enforce controls like four-eyes principle and only allow actions on a strictly defined set of workflows. An ideal flow would look like this:

  1. Production incident is raised for workflows with metadata x=y
  2. Identity Governance and Administration (IGA) system grants temporary access for these workflows
  3. Engineers take action on specific workflows
  4. Access is revoked

Describe the solution you'd like

To provide the most flexibility Temporal Cloud should integrated with a PDP (Policy Decision Point) sending necessary metadata for the PDP to make the correct decision. The PDP has all the required information to make the right call.

Describe alternatives you've considered

  1. Develop/fork a custom dashboard that implements the necessary access controls. This requires a significant amount of work.
  2. Add a full-blown IAM system like AWS's or similar. These often only allow for static rules and would require workarounds to make JIT FGA access feasible. E.g. Provisioning the required metadata via SCIM on users and using the IAM system to evaluate this data for access.
  3. Temporal itself providing FGA. I think this would make integration in existing FGA systems quite complex.

Additional context

Unfortunately there's no industry-wide standard for PDPs, yet so a custom adapter will always be required until the industry matures.
AWS has a nice whitepaper on the best practices here.

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

The issue does not name files, tests, or an implementation entry point. Start by clarifying the Temporal Cloud integration boundary, the PDP adapter contract, and how workflow metadata and temporary grants are represented; done should include an agreed design and a concrete, testable scope for fine-grained access decisions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authorization, cloud, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.