You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Affiliation modal behaviour when already added to list #33208
Describe the bug in current situation
Clicked on an expired affiliation email and selected an account that was already associated with the business. The affiliation modal popped up with all 3 options and then when you try to send another email we get an error. What should be happening is the user should get the modal that says this business is already in your account.
Steps to Reproduce
Steps to reproduce the behavior:
Clicked on link from email to affiliate
Selected an account accidentally that already had that business affiliated
Received an affiliation modal saying the link had expired and there were three options to choose from
Tried to use the email again but it generated an error
Expected behavior
User should receive a modal that says "this business has already been added to your account"
In this particular scenario, since the affiliation invitation link was expired, we show the expired alert and text. However there was another invitation that was accepted using the registered office email address so even though this business has already been added, we are not getting the correct modal since this exact invitation we are checking against has an expired status. We should update this to always check if it's been added regardless of the error in order to handle this edge case correctly.
OCM will review this ticket and collect feedback from the Business team. From my perspective, the authorization by email user journey is simpler and more intuitive. It requires fewer steps for a director to grant access to another authorized party (e.g., an accountant, business partner, or administrative staff), while still allowing the director to claim ownership of the company and provide additional access.
Offering all three authorization options has value; however, email authorization may be the preferred approach due to its ease of use for directors.
Activity
deetz99 commentedon Apr 22, 2026
In this particular scenario, since the affiliation invitation link was expired, we show the expired alert and text. However there was another invitation that was accepted using the registered office email address so even though this business has already been added, we are not getting the correct modal since this exact invitation we are checking against has an expired status. We should update this to always check if it's been added regardless of the error in order to handle this edge case correctly.
LANHALL2 commentedon Apr 30, 2026
OCM will review this ticket and collect feedback from the Business team. From my perspective, the authorization by email user journey is simpler and more intuitive. It requires fewer steps for a director to grant access to another authorized party (e.g., an accountant, business partner, or administrative staff), while still allowing the director to claim ownership of the company and provide additional access.
Offering all three authorization options has value; however, email authorization may be the preferred approach due to its ease of use for directors.
J-Baese commentedon May 1, 2026
@LANHALL2 I'm going to break out the OCM stuff in another ticket so we can keep this bug one focused
J-Baese commentedon May 14, 2026
This is working correctly on my end
chdivyareddy commentedon May 14, 2026
Verified in TEST!