Skip to content

[BI-3071] - Allow prog admin to re-activate user from UI - #505

Draft
HMS17 wants to merge 1 commit into
developfrom
bug/BI-3071
Draft

HMS17 wants to merge 1 commit into
developfrom
bug/BI-3071

Conversation

@HMS17

@HMS17 HMS17 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Description

Story: BI-3071 - Allow prog admin to re-activate user from UI

Fix to enable adding back a user that has been removed from a program via create by checking in the front end if it is an inactive user for the program and taking the update PUT path rather than create POST path if so.

Fix to have only programs that a user actively has access to appear the programs column of in the System User table

Dependencies

bi-api: develop

Testing

  • Remove user’s access to a program

  • Check that that program no longer is listed in programs column in System User table for that user

  • Add same user to program. Error should not appear and user should have program access restored

  • Check that the program is again listed in programs column in System User table for that user

  • Attempt to add same active user to program. Error should appear and creation prevented.

  • Check that program_user_role table the associated entry for the user and the program was updated rather than a duplicate entry being created

  • Remove user from program and add user back to program with different role, user should be added to program with new role, not old role

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have commented my code, particularly in hard-to-understand areas
  • I have either updated the source of truth or arranged for update with product owner if needed https://breedinginsight.atlassian.net/wiki/spaces/BI/pages/1559953409/Source+of+Truth
  • I have run SiteImprove on pages impacted by changes

@github-actions github-actions Bot added the bug Something isn't working label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant