As a staff member, I need to be able to browse through customers/users and manage them
Description
As a staff member, I need to have all customers displayed and be able to search them based on known information. It is important that I can easily block their account so that I can handle situations in which a seller starts spamming products with faulty reviews.
Requirements
- Staff member needs to be logged in
Acceptance Criteria
-
The staff member can browse through all customers, filter for blocked customers and search for specific customers -
When selecting to block/remove a customer, the staff member should be prompted to either write a text that will be sent to the customer through email about why their behaviours goes against terms of service and will be blocked/removed or send the default text.
Technical Criteria
-
API
-
Create a route to process requests to display customers that allow filtering to be applied -
Create a route to process requests to block or remove a customer that include messaging a customer about why their behaviours goes against terms of service.
-
-
Backend
-
Staff members should see a page containing the recorded customers that allows to filter for blocked customers only and search for specific customers -
When clicking on a specific customer, besides the information of the customer, the staff needs to see a button to block or remove the customer -
When clicking to block/remove a customer, the staff members needs to see a textbox that when filled and confirmed, will send a message to the customer about why they're getting blocked/removed.
-
Edited by João Antunes