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

List Users #7

Closed
4 tasks done
fabionl opened this issue Feb 6, 2021 · 0 comments
Closed
4 tasks done

List Users #7

fabionl opened this issue Feb 6, 2021 · 0 comments
Milestone

Comments

@fabionl
Copy link
Collaborator

fabionl commented Feb 6, 2021

User Stories

AS an Admin
I WANT TO see a list of users
SO I can View, Edit, Add, Delete, Approve/Disapprove

Scenarios

  • Scenario: Information shown in list of Users

GIVEN I'm on a list of users
THEN I want to see information of each user.

List of expected information:

  • User Name
  • Phone Number
  • Email
  • Organization
  • Status (Not Verified / Verified)
  • Available Actions

  • Scenario: Adding new Users

GIVEN I'm seeing list of users
WHEN I click on Add New User
THEN I want to see the new User form
AND If saved the new created user should receive an 'Signing Up' status
AND an email to proceed their sign up should be sent to their email

List of expected fields:

  • Contact Name
  • Email

  • Scenario: Editing Users

GIVEN I have the right to edit a user
WHEN I click on its Edit action
THEN a Edit User form similar to Sign Up form should be shown


  • Scenario: Delete Users

GIVEN I have the right to delete a user
WHEN I click on its Delete action
THEN I want the see a confirmation dialog
AND if I confirm, I want the user and their facilities to be removed

@fabionl fabionl added this to the Admin Users milestone Feb 6, 2021
fabionl added a commit that referenced this issue Nov 7, 2021
fabionl added a commit that referenced this issue Nov 21, 2021
fabionl added a commit that referenced this issue Nov 28, 2021
* [#7] Adds route to admin users, and link to admin user index to the layout.

* [#7] removes password_digest column from users table.

* [#7] Adds Admin users index and show pages.

* [#7] Removes to_csv method from User model.

* [#6] Fixes a crash on facility card component

* [#6] Removes unneeded columns from facilities. (r_pets, r_id, r_cart, r_phone, r_wifi, and *_note columns).

* [#7] Adds Vancouver and New Westminster zones to seeds.

* [#7] Implements fake_data:users and fake_data:facilities rake tasks to help populate development database.

* [#7] Implements ability to create, update and delete users.

* [#6] Fixes a crash on Facility validation when any of the clean_data columns has a nil value.

* [#7] Improves view components for Status of Users and Facilities.

* [#7] Refactors User form to shared partials.

* [#7] Implements ability to Reset Password of users.

* [#7] Implements website_url method on Facility model to handle website column content.

* [#7] Fixes a potential mass-assignment vulnerability as pointed by brakeman.
@fabionl fabionl closed this as completed Dec 6, 2021
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