Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Admins shouldn't need confirmed email or route for new team (development) #3960

Closed
mattbk opened this issue Mar 10, 2016 · 6 comments
Closed
Labels

Comments

@mattbk
Copy link
Contributor

mattbk commented Mar 10, 2016

This would make it quicker to get up to speed during development if make fake is used. For example, it takes some database magic to make a user able to create a new team. Would be better if there were a user who already existed.

Probably blocked on #3837.

@mattbk
Copy link
Contributor Author

mattbk commented Mar 14, 2016

psql gratipay -U matt
\l to list databases
\q to quit

Or pgAdmin:
2016-03-14_14-45-14

@mattbk
Copy link
Contributor Author

mattbk commented Mar 14, 2016

Or I could (duh) just make it so admins don't require an email address or payment route to create a new team.

@mattbk
Copy link
Contributor Author

mattbk commented Mar 14, 2016

Even better way, since how often do we need to do this?

while testing.

@mattbk mattbk changed the title Create "complete" user in fake data for development Admin's shouldn't need confirmed email or route for new team (development) Mar 14, 2016
@mattbk mattbk closed this as completed Mar 14, 2016
@mattbk mattbk changed the title Admin's shouldn't need confirmed email or route for new team (development) Admins shouldn't need confirmed email or route for new team (development) Mar 14, 2016
@mattbk mattbk reopened this Mar 14, 2016
@mattbk
Copy link
Contributor Author

mattbk commented Mar 14, 2016

That's clever enough to get into /new, but not enough to get the form submitted...

@mattbk
Copy link
Contributor Author

mattbk commented Mar 14, 2016

Updated #3960 (comment) and closing.

@mattbk mattbk closed this as completed Mar 14, 2016
@mattbk
Copy link
Contributor Author

mattbk commented Dec 12, 2016

Another helpful hint: Once you make fake, it stays there until you make fake again (or delete the database). I've been manually editing the database in order to become admin while developing. This is a better solution than editing the code on each PR and then remembering to not commit those changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant