Closed ysmazaheri closed 6 months ago
On hold until #98 is complete
Potential Solution: If emails are required to be valid UMass emails, then the corresponding ID can be the content before '@umass.edu', which we know to be unique.
Important Barrier: If we only check whether the emails contain '@umass.edu`, and not whether they are actually legitimate emails, then we lose the guaranteed uniqueness element. We will need to manually check to see whether the email already exists in the user db.
Potentially overridden by issue #146
In some places, name is being interpreted as 'firstname lastname' (e.g. delivery), and in other places its being seen as a username (e.g. its being used as an ID). There is only one 'name' attribute in 'user.js', so this needs repairing.