Problem
Currently we disabled switching to/from new/old dot when logged in as a copilot, since the functionality wasn't enabled. It is now!
Why is this important?
Allows full functionality for our users
Solution
Remove the blocks for both flows.
Discussed in Slack, but we are sending a new URL param, delegatorEmail, to the /transition route if the user needs to be re-logged in as a delegate once logged into the base account. We need to pick that up and call Delegate.connect with that info, and, once that's complete, land the user in the correct location.
Test cases:
- Copilot into an account in Old Dot - go to New Dot - return to Old Dot - switch back to original account
- Copilot into an account in New Dot - go to Old Dot - return to New Dot - switch back to original account
- Copilot into an account in Old Dot - go to New Dot - switch back to original account - return to Old Dot
- Copilot into an account in New Dot - go to Old Dot - switch back to original account - return to New Dot
Issue Owner
Current Issue Owner: @dylanexpensify
Problem
Currently we disabled switching to/from new/old dot when logged in as a copilot, since the functionality wasn't enabled. It is now!
Why is this important?
Allows full functionality for our users
Solution
Remove the blocks for both flows.
Discussed in Slack, but we are sending a new URL param,
delegatorEmail, to the/transitionroute if the user needs to be re-logged in as a delegate once logged into the base account. We need to pick that up and call Delegate.connect with that info, and, once that's complete, land the user in the correct location.Test cases:
Issue Owner
Current Issue Owner: @dylanexpensify