Defect #390
closedCannot assign automatic roles after the Contract validity is edited
100%
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.
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.
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?
Updated by Radek Tomiška almost 7 years ago
- Status changed from In Progress to Needs feedback
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.
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.