Project

General

Profile

Actions

Task #1096

closed

Number of identities with defined parameteres

Added by Marcel Poul almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Identities
Target version:
Start date:
05/15/2018
Due date:
% Done:

50%

Estimated time:
32.00 h
Owner:

Description

The aim of this ticket is to provide a way of how to easily check the existence of the identities (or better number of identities) that meet some parameters.

Usecase:

  • External aplication asks if there exist users that meet some filter (e.g. login=knovak and email=).

Function specification

CzechIdM must support parameters of type
  • Identity attribute (e.g. email, login)
  • EAVs (identity and identity's contract, e.g. alternative email, external id, contract id).

There must be a new permission in CzechIdM on this operation.

Realization

Probabilly new REST endpoint with new permission. Returns the number of identities that meet the filter.

Actions #2

Updated by Ondřej Kopr almost 6 years ago

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

Updated by Ondřej Kopr almost 6 years ago

The feature will be implement by Radek. :)

Actions #4

Updated by Radek Tomiška almost 6 years ago

  • Estimated time set to 32.00 h
Actions #9

Updated by Radek Tomiška almost 6 years ago

  • Status changed from New to In Progress
Actions #10

Updated by Radek Tomiška almost 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 0 to 50

I've added new method 'count' to core controllers, which supports external identifier (~ "gold" domain entities, e.g. Identity, Role, Contract). This method is secured by new permission 'COUNT':
https://wiki.czechidm.com/devel/documentation/security/dev/authorization#base_interfaces_and_classes
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/3cf5c4d5e703ce6c3248e2e1a08215d159da9617

The other requirement - search by extended attribute, will be solved as project specific filter builder.

Could you do a feedback, pls?

Actions #11

Updated by Vít Švanda almost 6 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška

I did review and test (with SopaUI). Everything looks nice and works great.

Thanks for that and other parallel improvements (fixies) too.

Actions #12

Updated by Radek Tomiška almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF