Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin can create new users #93

Closed
7 tasks
jtu0 opened this issue Dec 30, 2019 · 2 comments
Closed
7 tasks

Admin can create new users #93

jtu0 opened this issue Dec 30, 2019 · 2 comments
Assignees
Labels

Comments

@jtu0
Copy link
Collaborator

jtu0 commented Dec 30, 2019

This issue builds on the devise work done in #76

We need a way for new users to be created through the app. This should be as lightweight and minimal as possible. There is no guarantee we can send email reliably, otherwise devise-invitable would be a good choice.

  • Add administrate to Gemfile, bundle
  • Create a User-admin dashboard: rails generate administrate:dashboard
    • You might need to create a user model
    • users table was already created in PR 76
    • If you need to create the user model, it should include name and email. Devise will probably want password and maybe some other stuff.
    • Make sure you can still login with the test user (from db/seed)

Confirm that you can do the following:

  • Can login and logout with the test user from db/seed

As an authenticated user:

  • Can create a new user and supply a name and email
  • Can delete a user

Don't worry too much about roles - do whatever is simplest and least code. If that means everyone is an admin, start there.

Please pop into the #abalone channel in rubyforgood.slack.com if you have any questions or want to grab this issue.

@benreyn
Copy link
Member

benreyn commented Sep 19, 2020

@CraigJZ to break this into multiple user stories

@CraigJZ
Copy link
Collaborator

CraigJZ commented Sep 19, 2020

Separate issues added the tasks involved in completing this issue. Closing.

@CraigJZ CraigJZ closed this as completed Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants