Project

General

Profile

Actions

Defect #24596

closed

User_to_group mapping exists after deleting given user

Added by Vidhya Sundaram over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
No feedback
Affected version:

Description

After deleting a user from super admin UI , the user_to_group mapping for the user still remains in the database.
Ideally if user entry is deleted from database, the corresponding entries need to be flushed from other tables too.
Alternatively mark user table entry inactive/disabled so that data is in sync.

Actions #1

Updated by Go MAEDA over 8 years ago

  • Status changed from New to Needs feedback

Could you explain how to reproduce this?
I could not reproduce the problem described in this issue.


The user (id: 15) belongs to 2 groups (id: 10, 11):

sqlite> select * from groups_users;
group_id    user_id
----------  ----------
10          15
11          15
sqlite>

After deleting the user on "Administration" > "Users" page, related records in groups_users table are also deleted along with the user.

sqlite> select * from groups_users;
sqlite>
Actions #2

Updated by Marius BĂLTEANU over 6 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to No feedback
Actions

Also available in: Atom PDF