Defect #1544
closedTask #1503: Testing of the product (9.4.0)
Misplaced icon for incompatibility
100%
Description
Test case: business role and incompatibility
https://kiwi.czechidm.com/case/128/
Scenario: There is a business role (composition of 3 roles), one of them (Role 2) is incompatible with a fourth independent role which is later added to the group (special case) despite incompatibility (soft rule after all)
Given that first there is the business role set up, then incompatibility is set (Roles 2 and 4), then the 4th role is added to the business role.
When I add the fourth role (incompatible with the 2nd role within the original business role composition)
the warning icon of incompatibility is shown with the 3rd role. (in no incompatibility relation to any other role whatsoever)
The same holds for a displayed warning icon after the 4th role is assigned to a user.
Files
Updated by milus kotisova almost 6 years ago
- File assigned_role3.png assigned_role3.png added
Updated by Radek Tomiška almost 6 years ago
- Assignee changed from Radek Tomiška to milus kotisova
Attach please setting of incompatible roles for 'Testovaci_role3'. Or open popover + screenshot all info about incompatible roles (click on warning sign).
Updated by milus kotisova almost 6 years ago
- File role_3.png role_3.png added
- File pop_up.png pop_up.png added
- Category set to Roles
- Assignee changed from milus kotisova to Radek Tomiška
Here you go.
Updated by Radek Tomiška almost 6 years ago
- Assignee changed from Radek Tomiška to milus kotisova
Thx, in the screen is writen, some of your business role is incompatible, check and add screenshot please of role composition (business) for 'Testovaci_role3'.
Updated by milus kotisova almost 6 years ago
- File composition.png composition.png added
- Estimated time set to 0.25 h
The composition is clearly described in the referenced TC:
Role 1 -bottom | |
Role 2 -middle | incompatible with Role 4 |
Role 3 -top |
|Role 4 independent role| , later added as the new top role
You are asking me to provide information that you already have from the very beginning.
Mind you, opening a link to see the TC involves the same amount of effort as opening a screenshot.
I also include a screenshot if all of the above remains unclear.
Updated by milus kotisova almost 6 years ago
- Assignee changed from milus kotisova to Radek Tomiška
Updated by Radek Tomiška almost 6 years ago
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to milus kotisova
=> Application shows correct incompatibilities, you have assigned role with sub roles, which are incompatible with different assigned role (or subrole). This is a basic requirement to check incompatibility in business roles recursively.
See https://wiki.czechidm.com/devel/documentation/roles?s[]=incompatible#incompatible_roles.
It's a little more clearer now? Could i close this ticket , which is created by the misunderstanding the feature. :) ?
Updated by milus kotisova almost 6 years ago
- Assignee changed from milus kotisova to Radek Tomiška
Well then, thank you.
I have edited the passage in the documentation to make it clearer:
Concurrence of incompatible roles and business roles
The same warning symbol is shown when an identity requests new role(s) which happen to be incompatible with one of the subroles nested within a business role composition. In this case, the informative symbol is ALSO shown next to a business role that IS NOT itself incompatible with the requested role.
In other words, the meaning of the symbol is somewhat different then: it does not mean the respective role - marked by this symbol - is incompatible, but rather it serves as an indication that one of the subroles down the business role cascade is incompatible.
And I would recommend using two different icons:
1. incompatible (THIS ROLE is INCOMPATIBLE WITH...) - orange triangle
2. information about other roles being incompatible (this role only informs of other roles being incompatible with...)- COLORLESS ICON
Thank you :-).
Updated by Radek Tomiška almost 6 years ago
- Status changed from Needs feedback to Rejected
- Assignee changed from Radek Tomiška to milus kotisova
- Target version set to Pyrite (9.5.0)
- % Done changed from 0 to 100
Thx for the update documentation, but i think incompatibility is still incompatibility - it has the same weight from both side.
If some improvement (color ...) is needed, create please new ticket with appropriate description, category etc.