Skip to content

[Feature]: Add Role based access control to running workflows - Implement updated endpoints in UI #1730

Open
@wouter1975

Description

In several places the update endpoints for running workflow/tasks need to updated in the FE.

  • Reflect the isAllowed state in the Start menu
    • is workflow has isAllowed = false, make the menu item (shown by the product name) not-clickable, and present the item in a disabled state (grey text)
  • Reflect the isAllowed state in the Tasks menu
    • is workflow has isAllowed = false, make the menu item not-clickable, and present the item in a disabled state (grey text)
  • extend the isAllowed function on the Abort and Delete button to check whether the user is entitled to abort or delete the workflow
  • Ensure that the resume step performs an isAllowed check before the new input is accepted and workflow continues into running state.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions