Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: