Skip to content

[IA-5112] fix: don't display bypass nodes if the user can't take action#3044

Open
hugo093 wants to merge 1 commit into
developfrom
fix/IA-5112-Investigate-and-fix-a-potential-bug-in-validation-timeline
Open

[IA-5112] fix: don't display bypass nodes if the user can't take action#3044
hugo093 wants to merge 1 commit into
developfrom
fix/IA-5112-Investigate-and-fix-a-potential-bug-in-validation-timeline

Conversation

@hugo093
Copy link
Copy Markdown
Contributor

@hugo093 hugo093 commented May 22, 2026

What problem is this PR solving?

In the validation workflow timeline, bypass validation nodes were displayed even though the user can't take any action.

Related JIRA tickets

IA-5112

Changes

  • front end wise, filtered out the bypass ndoes where user_can_do_actions is false

How to test

Create a validation workflow with some bypass nodes and required roles
Trigger that workflow for an instance

User with the roles should see the bypass nodes
User without the roles should not see them

Notes

Will write fe tests once orval is implemented, will be easier with msw

@hugo093 hugo093 changed the title fix: don't display bypass nodes if the user can't take action [IA-5112] fix: don't display bypass nodes if the user can't take action May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant