Project

General

Profile

Actions

Defect #390

closed

Cannot assign automatic roles after the Contract validity is edited

Added by Marcel Poul about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
-
Target version:
Start date:
04/28/2017
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Created automatic roles and then edited user's contract. Firstly everything work fine - contract's valid from and valid to attributes affected the validity of the relation between the role and the user. Some more changes after that I managed to get to the point when user has valid contract but has no automatic role assigned.

Now I will try to reproduce the bug.

Actions #1

Updated by Marcel Poul about 7 years ago

The consequence is that even if I deleted the automatic role (not the role itself) and made the same automatic role configuration again, the user still does not have the role assigned.
He gets it just after I created new Contract for the user placed on the right position.

Actions #2

Updated by Radek Tomiška almost 7 years ago

  • Assignee set to Radek Tomiška
Actions #3

Updated by Radek Tomiška almost 7 years ago

  • Status changed from New to In Progress
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • Target version set to Citrine (7.3.0)
  • % Done changed from 0 to 90

I've refactored functionality about identity contract's validity, disable attribute and automatic roles:
https://proj.bcvsolutions.eu/ngidm/doku.php?id=roztridit:standardni_procesy#role_pridelovane_na_zaklade_zarazeni_v_organizacni_strukture

Integration tests were improved too.
Could you please make a test and feedback please?

Actions #4

Updated by Radek Tomiška almost 7 years ago

  • Status changed from In Progress to Needs feedback
Actions #5

Updated by Ondřej Kopr almost 7 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška

I do review, every thing looks great, but found this ?bug?:

  • when add new automatic roles to tree node, is not applied to existing users. This is probably not the case for this ticket.
Actions #6

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from Needs feedback to Closed
  • % Done changed from 90 to 100

Problem with add automatic roles was only temporary between some commits. Everything works.

Actions

Also available in: Atom PDF