Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6 (Comenius)
-
Fix Version/s: 4.1
-
Component/s: None
-
Labels:None
-
Subscription:Internal
Description
1. user has been imported from readonly resource. User and shadow exists and are linked
2. shadow has stored situation=linked, visible in Shadows Details and Resource/Accounts/Resource. Also owner is displayed where applicable (computed, not stored in shadow)
3. user in midPoint is deleted. As a result, all shadows of the user are deleted. The source shadow remains in midPoint, because the real source account is read only and cannot be deleted. As midPoint shadow corresponds to existing account, everything is OK until here.
4. Shadows details or Resource/Accounts/Resource will display the resource account still with LINKED situation, even if there is no owner (because the user is removed).
I think we should cleanup shadow when deleting user and when keeping the shadow in situations like this.
Maybe there is more than just situation, I didn't check. But the user is gone.