As a staff member, I need to be able to manage sellers since they might sell faulty/fake products
Description
As a staff member, I need to have all the seller's displayed and be able to search for specific sellers based on their known information. It is important that I can easily block their account so that I can handle situations in which a seller starts selling products with defects.
Requirements
- Staff member must be logged in.
Acceptance Criteria
-
There's a display for the staff member containing all the sellers and the option to block them/view their profile. -
There's a way to search through the list of sellers based on known information about them. -
Inside a seller's profile, from the point of view of a staff member, they need to see a button to block the seller besides the seller's information. This is important in case there's sellers with overlapping information and you need to go to their specific profile to confirm their identity -
A staff member can see filter to see seller's that have been blocked if needed.
Technical Criteria
-
API
-
Create a route to process requests to display seller's information for staff members. -
Create a route to process requests made by a staff member to block a seller.
-
-
Backend
-
Based on the information received by the API, the webpage for the staff member should show all the sellers as well as an option to inspect their profile and a clickable icon to block the seller. -
The staff members should be able to filter for blocked sellers from the listing section
-
Edited by João Antunes