fssa-batch3 / fssa-batch3/sec_a_aravindth.kannan__corejava_project_2

User module | Delete User Feature

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement user_module
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## User Delete Process

### User Story
As a user, I would like the ability to deactivate my account in the application. By deactivating my account, I ensure that my personal information is no longer accessible or displayed

### DAO

- [ ] deleteUser()

### Service

- [ ] deleteUser()

### Service Tests

- [ ] testDeleteUserSuccess()
- [ ] testDeleteNonExistingUser()
- [ ] testDeleteUserWithInvalidUserId()

### Estimation

- [ ] 4 hours

### Flow Chart
```mermaid
graph TD
A[[Start]] --> B([User Initiates Account Delete])
B --> C([Check If User Exists and Active])
C --> |User Not Found or Inactive|H([Validation Exception])
C --> |Display Delete Confirmation| D([User Confirms Delete])
D --> |User Confirms| E[(Delete Account)]
E --> |Return true| F[User Deleted Successfully]
E --> |Fail| G[Failed to Delete User]
H --> G
F --> I[[End]]
G --> I

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.