Skip to content

Missing Authorization Error for Reset Action in Temporal UI #3225

@Mahee777

Description

@Mahee777

Describe the bug
When an unauthorized user attempts to perform a Reset action, the UI does not display an Unauthorized error. However, for other actions such as Cancel, Terminate, or Create New Workflow, the UI correctly shows an unauthorized error.

To Reproduce
Steps to reproduce the behavior:

  1. Configure RBAC for UI users on the server using Authorizer and ClaimMapper.
  2. Navigate to a completed workflow in the UI.
  3. Click on the Reset action.
  4. Observe the UI behavior.

Actual Behavior
No error message is displayed when an unauthorized user attempts the Reset action

Expected behavior
The UI should display an "Unauthorized" error message when an unauthorized user attempts to perform a Reset action, similar to the behavior observed for other restricted actions (Cancel, Terminate, Create New Workflow).

Screenshots
I can clearly error in server when unauthorized user do resent action but no error shows on UI
Image

We can error on UI when we do other actions like cancel, terminate, create new workflow etc

Image

Desktop (please complete the following information):

  • Version [UI 2.47.2 and Server 1.29.2]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions