empowerhack / DrawMyLife-Service

API and Admin system for the Draw My Life initiative - Volunteers: check README and GitHub Projects to get started.
https://github.com/empowerhack/DrawMyLife-Service/projects
MIT License
13 stars 0 forks source link

[95] Disable self-signup, add roles and user management system #135

Closed krissy closed 7 years ago

krissy commented 7 years ago

Addresses issue: #95

Progress: 100%

:eyes: Reviewers: Please see "What This Could Have" section below for things that are known to need improvement / fixing but will be made into post-pilot tickets. Also, there was a lot of hacky stuff we had to do to get around Devise so I'd say don't worry too much about the stuff in controllers/profiles and views/profiles which hold a bunch of community-suggested overrides to get things working.

What this does

What this could have (if time permitted)

NB: These aren't blocking enough to be done before second pilot but noting here as they should be addressed eventually and be translated into tickets

Deploy instructions

Mail:

On both our staging and production instance, we've installed the add-on for the SendGrid email service.

Deployment

Screenshots

Flow:

User Management section (accessible by super_admin only)

screen shot 2016-11-14 at 00 54 33

Edit Existing User

screen shot 2016-11-14 at 00 54 59

Add New User

screen shot 2016-11-14 at 01 01 06 screen shot 2016-11-14 at 01 01 27

Confirmation/Activation

screen shot 2016-11-14 at 00 58 59 screen shot 2016-11-14 at 00 59 51

(User activated and auto-logged in)

screen shot 2016-11-14 at 01 00 09
steverabino commented 7 years ago

This is incredible, @krissy, thank you! 💕

krissy commented 7 years ago

All tasks done and email setup updated (including Devise from address) - hopefully ok after one last sweep?

krissy commented 7 years ago

🌵 Rebased on master and force-pushed 🌵