Project

General

Profile

Actions

Bug #10337

closed

Add validation to user deletion to check the user has enrolled devices

Added by Pahansith Gunathilake about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Critical
Start date:
12/09/2023
Due date:
% Done:

100%

Estimated time:
Device Type:
Component:
Type:

Description

Validation should be added to the user delete to check if the deleting user has any enrolled devices in the system. If so, the user deletion should not proceed.


Files

Screenshot from 2024-01-01 18-22-11.png (372 KB) Screenshot from 2024-01-01 18-22-11.png [1] Arshana Atapattu, 03/01/2024 03:40 AM
Actions #1

Updated by Arshana Atapattu about 1 year ago

  • Assignee set to Kavin Prathaban
Actions #2

Updated by Kavin Prathaban about 1 year ago

  • Status changed from New to QA
  • % Done changed from 0 to 100
Actions #3

Updated by Arshana Atapattu about 1 year ago

show a warning msg instead a error msg(change the response code/conflict).
Also in warning msg mention if the user need to delete, he cannot have any devices assigned to him.
devices owner(user) can be changed from update enrollment. mention this also instead remove devices msg.

Actions #4

Updated by Arshana Atapattu about 1 year ago

  • Status changed from QA to Implementation
Actions #6

Updated by Kavin Prathaban 11 months ago

  • Status changed from Implementation to QA
Actions #7

Updated by Arshana Atapattu 11 months ago

There is no language support for the warning msg [1]

Also this warning msg is coming if there are devices under him. therefore this "ensure there are no devices assigned to the user" part need to check.
Also if a user has removed devices(REMOVED state) those users also cannot deleted.
Therefore need to tell the user to check the removed state devices also.

[1]
[1]

Actions #8

Updated by Kavin Prathaban 11 months ago

Closing this ticket as improvements are moved to separate ticket
https://roadmap.entgra.net/issues/10500

Actions #9

Updated by Kavin Prathaban 11 months ago

  • Status changed from Needs Improvement to Closed
Actions

Also available in: Atom PDF