code4romania / code4romania/vic

Deleted Accounts Can Update DB Data for Other Accounts

Open
#356 0 comments 0 reactions 1 assignee Claimed by @birloiflorian View on GitHub
bug :bug: mobile-app P1 - high
Dominant language
TypeScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Preconditions:**
User must be logged in on two devices with the same account.

**Steps to Reproduce:**
1. Delete the account using the first device;
2. On the second device complete or edit the "Date indentitate" form from "Setari cont" page

**Expected Results:**
1. Mobile user data is removed from DB;
2. No action is taken and an error is displayed regarding the account deleted status or similar ("A aparut o eroare necunoscuta").

**Actual Results:**
1. Mobile user data is removed from DB
2. The saved data is applied to an already existing account that is not related to the deleted account.

**Note:**
There is a weird behaviour on "Cauta" page where some NGO as displayed as "Joined" even if this was false in the first place. DB is not affected in this case.

**Suggestion:**
Can we automatically log out deleted accounts from all devices?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.