Project

General

Profile

Actions

Feature #2240

closed

Evaluator for all roles in one role catalogue

Added by Ondřej Kopr almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
-
Target version:
Start date:
04/17/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Goal of this ticket is create new evaluator for roles in one role catalogue (including sub catalogues).

Actions #1

Updated by Ondřej Kopr almost 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 0 to 90
Actions #2

Updated by Radek Tomiška almost 4 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 90 to 80

Thx for this feature! I did test and code review, it works and code is nice, awesome!

Review notes:
- additional loading of role catalogue should be removed from both evaluator methods. Uuid is needed only and if catalogue not exists, then simply nothing is found.
- #getPermissions - IdmRoleService#count method should be used instead #find method (it will be quicker). Test is missing for this method (e.g. https://github.com/bcvsolutions/CzechIdMng/blob/develop/Realization/backend/core/core-impl/src/test/java/eu/bcvsolutions/idm/core/security/evaluator/identity/IdentityByFormProjectionEvaluatorIntegrationTest.java#L84).

I just renamed evaluator by product conventions:
https://github.com/bcvsolutions/CzechIdMng/commit/0861f710377d55709586b1ce1a59fa33a7bd09bc

Actions #3

Updated by Ondřej Kopr almost 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 80 to 90

Thank you for feedback. The changes will be also moved into extras module.

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/1bc627d29cbd42d10c0e657638bae845b5db3f10 (same branch)

Please Radek could you check the branch again? Thanks :)

Actions #4

Updated by Radek Tomiška almost 4 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 90 to 100

It's awesome, thx!

Actions #5

Updated by Radek Tomiška almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF