Actions
Defect #1850
closedAccountManagement bulk actions don't remove accounts from users, even if the role doesn't assign the system
Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Account managment
Target version:
Start date:
09/13/2019
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
Version: 9.7.6
Steps to reproduce:
Steps to reproduce:
- role assigns a system, role is assigned to a user
- remove the system from the role
- run Recalculate accounts and provision on the role
- run Recalculate accounts and provision on the user
- the user still has the link to the account with this role
This was tested when the user has 2 roles for the same system, or only 1 role. The behaviour stays the same - the account is not removed.
Files
Updated by Vít Švanda over 5 years ago
- Status changed from New to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- Target version set to Rhyolite (9.7.7)
You are right, identity-accounts are not removed in this case.
I fixed this. In ACM wasn't implemented mechanism for remove valid identity-role (when role-system mapping no longer exist).
I implemented this mechanism here:
https://github.com/bcvsolutions/CzechIdMng/commit/75d0bae1a633091ec2b2525e0ac6df08f9820c05
Tests are here:
https://github.com/bcvsolutions/CzechIdMng/commit/5beb14b3c63592d61f84166efb8bc5a7ef51190b
Updated by Radek Tomiška over 5 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 0 to 100
I did test and code review, it works and code is nice, thx!
Updated by Radek Tomiška about 5 years ago
- Status changed from Resolved to Closed
Actions