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 User Management #19

Open
12 tasks done
mbarzilai opened this issue Feb 26, 2019 · 0 comments
Open
12 tasks done

Admin User Management #19

mbarzilai opened this issue Feb 26, 2019 · 0 comments

Comments

@mbarzilai
Copy link
Contributor

mbarzilai commented Feb 26, 2019

  • Edit Single User react component

  • Promt user to change password

  • Express POST route for new user (POST /api/users/)

  • Express PUT route for updating user (PUT /api/users/:id)

  • Express DELETE route to delete user (DELETE /api/users/:id)

  • Express GET route for single user (GET /api/users/:id)

  • Add New User react

  • All Users react component

  • All Users can ONLY be seen by Admins (no response from /api/users)

  • selected user redux (for single user page and to edit)

  • make isAdmin middleware

  • edit db User model to add 'isAdmin' attribute instead of userType

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

No branches or pull requests

1 participant