geowa4 / docker-cockroach-meetup

GNU General Public License v3.0
0 stars 0 forks source link

List, create, and delete users via admin interface. #3

Open geowa4 opened 7 years ago

geowa4 commented 7 years ago

Make a simple admin interface at /admin to list, create, and delete users. The login and email should be displayed in a table at /admin. The third column must be a button to delete the user.

Above the table must be a simple form taking login and email to create a new user. On successful save, a notification box displays between the form and the table of users. This box will display the login, email, and master key of the user. Should the admin make another user, this notification box is replaced with the content for the new user. Should the admin refresh, the notification is gone. Also on successful save, the user should appear in the table. If the admin deletes the user, the notification box disappears.

geowa4 commented 7 years ago

It would make sense to try this out for this interface: http://ruby-hyperloop.io.