Project

General

Profile

Actions

Defect #1850

closed

AccountManagement bulk actions don't remove accounts from users, even if the role doesn't assign the system

Added by Alena Peterová over 5 years ago. Updated about 5 years ago.

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:
  • 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

identity_acm.png (22.9 KB) identity_acm.png Alena Peterová, 09/13/2019 04:19 PM
identity_links_to_accounts.png (46.2 KB) identity_links_to_accounts.png Alena Peterová, 09/13/2019 04:19 PM
role_acm_LRT.png (20.7 KB) role_acm_LRT.png Alena Peterová, 09/13/2019 04:19 PM
role_systems.png (15.1 KB) role_systems.png Alena Peterová, 09/13/2019 04:19 PM
Actions #1

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

Actions #2

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!

Actions #3

Updated by Radek Tomiška about 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF