This is a quick recap, from memory, on our talk on the matter.
Sometimes a single auth would manage multiple athlete's accounts (e.g. one parent managing bookings for their children). Currently we don't support that and the behaviour is more/less undefined (depends on how they go about it).
The proposed updates:
[ ] When querying athlete by email/phone, the function should return all matches (instead of the first match, as is currently the case)
[ ] On login, single user - single athlete would take to the athlete's page (as is the current implementation)
[ ] On login, single user - multiple athletes, the user is redirected to a new page (a prompt really) prompting them to chose the athlete they want to act for
[ ] There should be a user dropdown (on click of user avatar) with:
currently logged in athlete (emphasised: bold or smtn)
a list of alternative athletes (not currently active, but also managed by the same account), empty if one - one user - athlete
add new athlete -> allowing the user to add additional athlete for management
logout button
[ ] When adding of new athlete, the flow should be the same as for onboarding (self-register)
Enhancements (TBD stuff):
how should deleting of athlete account work
how should email notifications work (probably the same way they already do since each athlete, not user, would have email/phone assigned to them)
should updating of one athlete's email/phone be reflected with the other athletes managed by the same user ??
This is a quick recap, from memory, on our talk on the matter.
Sometimes a single auth would manage multiple athlete's accounts (e.g. one parent managing bookings for their children). Currently we don't support that and the behaviour is more/less undefined (depends on how they go about it).
The proposed updates:
Enhancements (TBD stuff):