Task #1096
closedNumber of identities with defined parameteres
50%
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=k.novak@someemail.com).
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.
Updated by Ondřej Kopr over 6 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Ondřej Kopr over 6 years ago
The feature will be implement by Radek. :)
Updated by Radek Tomiška over 6 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška over 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?
Updated by Vít Švanda over 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.
Updated by Radek Tomiška over 6 years ago
- Status changed from Resolved to Closed