Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Also if it does have MarkedForDeprovisioningDate but it’s time did not come - it will be removed from PrimaryAssignments collection.TODO: write

Remove Assignments That Should be Kept Because of Role Assignment

There can be situation described in

Jira Legacy
serverSystem Jira
serverIdb6044a4e-88a0-3058-b0a9-47c0688fc6c9
keyIMS-6906
To fix it there is a filter that removes assignment from PrimaryAssignments if they are there because of valid role assignment.

Searching for valid role assignments:

Servicedmcore_RoleAssignments

Condition

Deny

is false

Ignore

is false

ValidFrom, ValidTo

NOW is between ValidFrom and ValidTo

State

New OR Assigned OR PendingAssignment OR PendingApproval

Assignments reasons are gathered for these valid role assignments.

TODO: finish about RemoveAssignmentsThatShouldBeKeptBecauseOfRoleAssignment

...