Story 1.7.5.1. User edit mode

Content

General info

This user story focuses on enabling CRM users to edit the information of any user in the system. The primary goal is to maintain accurate and current records of all team members. The story involves updating user details, saving changes, and handling scenarios where a user may cancel their edits or attempt to navigate away without saving.

User story

As a CRM user
I want to edit any user in the system
So that I can ensure that the information about each team member is accurate and up-to-date.

Visual design

https://www.figma.com/design/I5CXH7H3ICD0vfA1kPbcVf/Rocken-Design?node-id=45187-247308&t=vO8VqcrY1hDmMyuV-4

#

Acceptance Criteria

01

Scenario: Saving User Changes
GIVEN I am on the User Edit page
WHEN I update any field in the user’s profile
THEN the system should allow me to save changes using the "Save Changes" button.

image-20250130-135529.png

02

Scenario: Editable Fields
GIVEN I want to edit a user’s information
WHEN I access the User Edit page
THEN all editable fields should be clearly labeled and allow me to input or select new values.

03

Scenario: Navigation Prompt
GIVEN I have made changes to a user’s profile
WHEN I attempt to navigate away without saving
THEN the system should prompt me to confirm if I want to save or discard changes.

04

Scenario: Canceling Edits
GIVEN I want to cancel my edits
WHEN I click the "Cancel" button
THEN all changes should be discarded, and I should return to the previous view without updating the user’s profile.

05

Scenario: Successful Save Confirmation
GIVEN I have saved changes to a user’s profile
WHEN the changes are successfully saved
THEN I should receive a confirmation message that the user’s profile has been updated.

06

Scenario: Editing User Details
GIVEN I am editing a user
WHEN I interact with fields for first name, last name, role, category (with the ability to add new categories), phone number, email, email at Rocken Jobs, country, or extra links (e.g., LinkedIn, website)
THEN I should be able to input and save changes to these fields.
AND country should be edited only by Admin any user who can access to edit mode

07

Scenario: User Status Checkboxes
GIVEN I am editing a user’s profile
WHEN I select the checkboxes for "Test user" or "Anonymous user"
THEN the system should correctly update the user’s status based on these selections.

08

Scenario: Updating Avatar
GIVEN I want to update a user’s avatar
WHEN I upload a new avatar image
THEN the system should save the image and display it in place of the previous avatar.

09

Scenario: Password Encryption
GIVEN I need to update a user’s password
WHEN I enter a new password
THEN the system should securely encrypt the password and save it without exposing the actual characters entered.

10

Scenario: Managing Extra Links
GIVEN I am adding extra links to a user’s profile
WHEN I add or remove links like LinkedIn or a personal website
THEN the changes should be reflected immediately in the user’s profile after saving.

Comments

Leave a Reply