we shouldn't let multiple Comm users associate the same FID with their accounts. So, we need to check on registration if the FID is already taken.
Depends on D11411
Differential D11412
[identity] check if fid is already taken when registering new user varun on Mar 27 2024, 1:28 PM. Authored by Tags None Referenced Files
Details we shouldn't let multiple Comm users associate the same FID with their accounts. So, we need to check on registration if the FID is already taken. Depends on D11411 tried registering a user with an FID that was already in the users table, it failed as expected. Registration with a new FID (not in DDB) continues to work, though.
Diff Detail
Event TimelineComment Actions Read the issue and seems like it was unrelated to this code. Logic looks good, the only possible way it could fail is if somebody could trigger two registrations so quickly that the DDB index wouldn't have chance to be updated between them (it's milliseconds IIRC). But the only way to address this is to rate-limit registrations. |