Detailed Epic - User Management
User View
AS a user administrator I WANT to register collaborators and PDMs on the platform SO THAT I can manage the platform's users.
Business Narrative
An administrator needs a feature that allows them to register, edit, and deactivate collaborators and PDMs, recording information such as name, email, role, and PDM.
A collaborator is a user who will have a PDM linked to them and will be able to create feedback requests.
A PDM is a user who may or may not have a PDM linked to them. If they have a PDM associated with them, they will also be considered a collaborator and can create feedback requests. However, if they do not have a PDM associated with them, they cannot create feedback requests.
Screen Flow
USER LIST
- The administrator accesses the user list, which, in addition to the list, contains a button to create a new user.
- The list contains all registered users with their name, email, and type, as well as access to edit and delete/deactivate functions.
NEW USER
- By clicking the button to create a new user, the administrator accesses the new user registration screen.
- The administrator fills in the fields: name, email, user type (collaborator or PDM), role, and the collaborator's PDM login.
- If the user type is PDM, the PDM login field is not mandatory.
- All other fields are mandatory.
- To create a collaborator, it is mandatory to inform a PDM. In the case of a PDM, they may or may not have their own PDM.
- The administrator clicks the "Register" button.
- The system saves the user's information and records the creation date.
- The system displays a registration confirmation message.
EDIT USER
- To edit a user, the administrator accesses the registered user list and selects the desired user.
- The system displays the screen filled with the selected user's information.
- The administrator changes the desired information and clicks the "Save" button.
- The system saves the changes and records the edit date.
DELETE USER
- To delete/deactivate a user, the administrator accesses the registered user list and selects the desired user.
- The system displays a deletion/deactivation confirmation message.
- The administrator clicks the "Delete/Deactivate" button.
- The system deletes/deactivates the user and records the deletion/deactivation date.
Non-Functional Requirements
- The registered user list must have pagination behavior.
Acceptance Criteria
- The system must allow the registration of collaborators and PDMs.
- The system must allow the editing of user information.
- The system must allow the deletion/deactivation of users.
- The system must record the creation, edit, and deletion/deactivation dates.
- The system must display a confirmation message after registering, editing, or deleting/deactivating a user.
Stories Overview
Registration of Collaborators and PDMs
-
User Listing
- Implement endpoint to list users
- Implement pagination and filters
- Develop user interface for listing
-
User Registration
- Implement endpoint for user registration
- Implement data validations (unique email, required fields)
- Develop user interface for registration
- Implement an endpoint that lists only PDMs to populate the PDM selection combobox
-
User Editing
- Implement endpoint for user editing
- Implement data validations
- Develop user interface for editing
-
User Deactivation
- Implement endpoint for user deactivation
- Implement soft delete
- Develop user interface for deactivation