Project

General

Profile

Actions

Defect #3045

closed

Removed automatic roles by attributes when validity of contract was extended on the last day

Added by Alena Peterová almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Category:
Automatic roles
Target version:
Start date:
01/26/2022
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Tested on 10.8.3 and 11.2.1

Situation:
  • Contract is valid till 26.1.2022, so assigned automatic roles are also valid till 26.1.2022
  • The validity of contract is extended in HR on the last day, new validity is 30.1.2022
  • Synchronization of contracts processes the contract on 27.1.2022 in the morning. (It runs with both settings: After end, start the HR processes; After end, start the automatic role recalculation)
  • The validity of the contract and of the automatic roles by org. structure is extended, but the validity of automatic roles by attributes is not changed
  • When IdentityRoleExpirationTaskExecutor runs that day, it removes the roles

Note: Tested for manual changes in GUI and synchronization of contracts, I don't know the behavior for contracts slices.
Note: For easier testing, screenshots come from appliance with the date set 1 day in the future (date --set='+1 day'). The line with the LDAP_CAS would be otherwise grey.


Files

contracts_roles_after.png (50.6 KB) contracts_roles_after.png Alena Peterová, 01/26/2022 03:40 PM
contracts_roles_before.png (50.6 KB) contracts_roles_before.png Alena Peterová, 01/26/2022 03:40 PM
automatic_role_attr_validity.png (120 KB) automatic_role_attr_validity.png Alena Peterová, 01/26/2022 03:40 PM
Actions

Also available in: Atom PDF