Project

General

Profile

Actions

Task #3063

closed

Add support for validating attribute uniqueness in a connected system

Added by Tomáš Doischer almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Peter Štrunc
Target version:
Start date:
02/18/2022
Due date:
% Done:

100%

Estimated time:
Owner:

Description

In some cases, it is desirable to support checking that some value of an attribute is unique in a system (username, email...). Create a new service which will allow this validation.

Actions #1

Updated by Peter Štrunc almost 3 years ago

  • Target version changed from 3.4.0 to 3.5.0
Actions #2

Updated by Tomáš Doischer almost 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80

Implemented here: https://github.com/bcvsolutions/czechidm-extras/pull/74

The service was tested with a database but the test itself is done with an in-memory LDAP.

I need to add documentation.

Actions #3

Updated by Tomáš Doischer almost 3 years ago

  • Status changed from In Progress to Needs feedback
  • % Done changed from 80 to 100
Actions #4

Updated by Tomáš Doischer almost 3 years ago

  • Assignee changed from Tomáš Doischer to Peter Štrunc

@sourek, can you give me feedback please?

Actions #5

Updated by Tomáš Doischer almost 3 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Peter Štrunc to Tomáš Doischer
  • % Done changed from 100 to 80

After presentation, we will add the ability to set the type of attribute evaluation (equals, startsWith...).

Actions #6

Updated by Tomáš Doischer almost 3 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Tomáš Doischer to Peter Štrunc
  • % Done changed from 80 to 100

I implemented the support for attribute comparison. Documentation was updated.

@sourek, can you give me feedback?

Actions #7

Updated by Peter Štrunc almost 3 years ago

  • Status changed from Needs feedback to Resolved

Looks great, I merged it to develop. Thanks.

Actions #8

Updated by Peter Štrunc over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF