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.
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
- Assignee set to Kavin Prathaban
- Status changed from New to QA
- % Done changed from 0 to 100
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.
- Status changed from QA to Implementation
- Status changed from Implementation to QA
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]
- Status changed from Needs Improvement to Closed
Also available in: Atom
PDF