Project

General

Profile

Actions

Defect #1544

closed

Task #1503: Testing of the product (9.4.0)

Misplaced icon for incompatibility

Added by milus kotisova almost 6 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
milus kotisova
Category:
Roles
Target version:
Start date:
03/08/2019
Due date:
% Done:

100%

Estimated time:
0.25 h
Affected versions:
Owner:

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

incompatibility.png (68.8 KB) incompatibility.png milus kotisova, 03/08/2019 02:56 PM
wrong icon.png (65.8 KB) wrong icon.png milus kotisova, 03/08/2019 02:57 PM
assigned_role3.png (94.7 KB) assigned_role3.png milus kotisova, 03/08/2019 03:01 PM
role_3.png (65.2 KB) role_3.png milus kotisova, 03/14/2019 03:29 PM
pop_up.png (54.2 KB) pop_up.png milus kotisova, 03/14/2019 03:29 PM
composition.png (69.8 KB) composition.png milus kotisova, 03/15/2019 08:22 AM
Actions #1

Updated by milus kotisova almost 6 years ago

  • Assignee set to Radek Tomiška
Actions #2

Updated by milus kotisova almost 6 years ago

Actions #3

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).

Actions #4

Updated by milus kotisova almost 6 years ago

Here you go.

Actions #5

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'.

Actions #6

Updated by milus kotisova almost 6 years ago

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.

Actions #7

Updated by milus kotisova almost 6 years ago

  • Assignee changed from milus kotisova to Radek Tomiška
Actions #8

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. :) ?

Actions #9

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 :-).

Actions #10

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.

Actions

Also available in: Atom PDF