Feat/pdjb 260 handle auth and landlord registration during JL acceptance#1398
Merged
JasminConterioSW merged 25 commits intoJun 3, 2026
Merged
Conversation
…kept in session in case the user tries to do multiple journeys at once # Conflicts: # src/main/kotlin/uk/gov/communities/prsdb/webapp/constants/SessionAttributes.kt # src/main/kotlin/uk/gov/communities/prsdb/webapp/controllers/AcceptOrRejectJointLandlordInvitationController.kt
…ey when the user is not a landlord
…n journey when the user is not a landlord
…l steps as it was interfering with landlord registration cya
986a179 to
4201983
Compare
Travis-Softwire
approved these changes
Jun 2, 2026
Collaborator
Travis-Softwire
left a comment
There was a problem hiding this comment.
I think this is mostly fine. I don't love that duplicating the LL registration journey means that we have to expliciltly duplicate the CYA journey structure. I suspect the answer there is to tweak the journey framework to allow reusable CYA journey maps rather than trying to do something clever here via the actual LL registration journey
…o be used by both journeys
… unauthenticated users can access
…rom anything other than the startJourney endpoint
…multiple journeys while it is valid
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.
Ticket number
PDJB-260
Goal of change
If the user accepts the invitation, make sure they are logged in and integrate with the landlord registration journey if the user is not already a landlord
Description of main change(s)
Anything you'd like to highlight to the reviewer?
Checklist
Delete any that are not applicable, and add explanation below for any that are applicable but haven't been done
and any related functionality)
mention that here