The sponsor's login requires login length < 25. Since sponsors are organization names that could be long, currently half of sponsor data's login fail the login length requirement. When we query the data, we will get this error (front end will not get sponsors successfully):
Suggestion:
Add login requirement for org account as well
Increase the length maximum to a larger number, such as 60
The login requirements for organization account and sponsors are different:
OrganizationCreateRequest
: https://github.com/Sage-Bionetworks/rocc-schemas/blob/db8555cce228a60938afee5dc4a2303a52c23f80/openapi/components/schemas/OrganizationCreateRequest.yaml#L2-L5ChallengeSponsorCreateRequest
: https://github.com/Sage-Bionetworks/rocc-schemas/blob/db8555cce228a60938afee5dc4a2303a52c23f80/openapi/components/schemas/ChallengeSponsorCreateRequest.yaml#L2-L7The sponsor's login requires login length < 25. Since sponsors are organization names that could be long, currently half of sponsor data's login fail the login length requirement. When we query the data, we will get this error (front end will not get sponsors successfully):
Suggestion: