datahuborg / datahub

An experimental hosted platform (GitHub-like) for organizing, managing, sharing, collaborating, and making sense of data.
https://datahub.csail.mit.edu
MIT License
210 stars 60 forks source link

Can't register a numerical username #120

Closed willjharmer closed 8 years ago

willjharmer commented 8 years ago

When registering with a User ID, something common to the corporate world (I'm just a number!), I get a Postgres role create error. E.g. I register with the following example details: Username: 123456789 Email: example.user@mycorp.com Password: password

Error log attached: Account registration error.pdf

RogerTangos commented 8 years ago

Hey @willjharmer - Thanks for logging this. It's a known issue and a side effect of making postgres roles that match datahub usernames. That needs to be worked out (It's also related to #58, #59, and to some extent, #61.) but it requires some major surgery that we haven't been able to do yet.

RogerTangos commented 8 years ago

Duplicated under #146