Project

General

Profile

Actions

Defect #3230

open

Direct managers can partially see inactive subordinates, configuration to allow/disable option to see inactive subordinates

Added by Alena Peterová over 1 year ago. Updated 6 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Jan Potočiar
Category:
Filters
Target version:
Start date:
11/24/2022
Due date:
% Done:

80%

Estimated time:
32.00 h
Affected versions:
Owner:
Jan Potočiar

Description

When we use the default settings of managers and subordinates by tree structures (https://wiki.czechidm.com/devel/documentation/architecture/dev/filters#defaultmanagersfilter), the managers are not able to see their inactive subordinates.
If we use finding managers/subordinates by directly configured managers (https://wiki.czechidm.com/devel/documentation/architecture/dev/filters#guaranteesubordinatesfilter), then managers can see the identities in the list of users, but aren't able to open them.

Please:
  • make the default behavior of different algorithms consistent
  • allow us to configure (without implementation) per project, if the managers may see/edit their left subordinate, or not (we need both options for different customers)

Current behavior on version 12.2, steps to reproduce:
  • create manager and their subordinate, deactivate the subordinate by their contract's valid till
  • login as manager -> Users -> clear the filter. You cannot see the inactive subordinate at all:
  • use the direct managers configuration:
    idm.sec.core.filter.IdmIdentity.managersFor.impl=guaranteeManagersFilter
    idm.sec.core.filter.IdmIdentity.subordinatesFor.impl=guaranteeSubordinatesFilter
  • login as manager -> Users -> clear the filter. You can see the inactive subordinate:
  • try to open the inactive subordinate => insufficient access rights

Note: userRole contains userManagerRole, no other changes in default permissions were made


Files

suboridnate_inactive.png (44.4 KB) suboridnate_inactive.png Alena Peterová, 11/24/2022 11:15 AM
default_subordinates.png (35.8 KB) default_subordinates.png Alena Peterová, 11/24/2022 11:15 AM
guaranteefilter_open_inactive_user.png (3.45 KB) guaranteefilter_open_inactive_user.png Alena Peterová, 11/24/2022 11:15 AM
guaranteefilter_users.png (24.8 KB) guaranteefilter_users.png Alena Peterová, 11/24/2022 11:15 AM
inactive-users.png (59 KB) inactive-users.png Jan Potočiar, 04/12/2023 10:33 AM

Related issues

Related to IdStory Identity Manager - Task #3129: The EavCodeContractByManagerFilter returns subordinates from expired contractsClosedTomáš Doischer06/01/2022

Actions
Actions

Also available in: Atom PDF