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

User management within the the Admin namespace #54

Merged
merged 8 commits into from
Nov 17, 2016

Conversation

danguita
Copy link
Contributor

This PR implements #32.

Before reviewing

This PR strongly depends on #53, so let's get it fully merged before checking this out.

What does this PR do?

This PR pretends to implement all User management features through the Admin UI.

Those features are:

  • List Users
  • Edit User
  • View User details
  • Change User password
  • Resend Welcome email
  • Resend Confirmation instructions, when email changes

Regarding technical stuff, both Admin and User implementations have been normalized in terms of code and architecture. The test coverage in both namespaces has been increased as well.

How should this be manually tested?

This PR is pretty large as well, so let's split it into smaller entry points:

List Users

Starting from http://gobierto.dev/admin/users, just check that data are displayed correctly, and every single row links to the corresponding Edit and Show actions.

Edit User

From the Edit view (http://gobierto.dev/admin/users/<user_id>/edit), check that only name and email fields are editable, and there are links for changing password and resending the welcome email.

Resend confirmation instructions

Being in the same view (http://gobierto.dev/admin/users/<user_id>/edit), the welcome email should be delivered by hitting the "Resend welcome email" button.

Change User password

Right in http://gobierto.dev/admin/users/<user_id>/passwords/new (also reachable from the Edit view), check the user password is actually changed.

Admin management normalization

The UI between Admin and User management has been normalized as well. Check it out at http://gobierto.dev/admin/admins.

Here are the processes covered here:

- Registration
- Session management
- Confirmation
- Password reset
- Also increases test coverage.
- List users.
- Edit user.
- Edit user password.
- Resend welcome email.
- Resend confirmation instructions, when applicable.
- Normalize implementations between namespaces.
- Increase test coverage.
@ferblape ferblape merged commit fcfc9be into master Nov 17, 2016
@danguita danguita deleted the 32-admin-users-management branch November 17, 2016 13:14
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

Successfully merging this pull request may close these issues.

None yet

2 participants