Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Major user search functionality improvement. This helps especially large installations with millions of users.

Release date: 2020-1011-2816.

Table of Contents

Breaking changes

Web themes

  • Login layout has new error labels for username and password fields. They need to be added to any web themes that customise this view:

    Code Block
    languagejava
    // Add these after username and password fields
    <vaadin-label style-name="failure" plain-text _id="usernameErrorLabel" />
    <vaadin-label style-name="failure" plain-text _id="passwordErrorLabel" />

Technical notes

MongoDB text search index usage for user search was replaced with heuristic approach to search by interpreting the search input and building multi-key search query based on it. This can leverage MongoDB index intersection functionality for improved speed.

Group membership indexing was improved. This will cause some indexes to be rebuilt.

Bug

  • [ONEP-1836] - Text search bug when matching email addresses on free-form search

  • [ONEP-2022] - Waltti-ID: Pricing plans with invalid custom field value types break catalog list operation

  • [ONEP-2064] - Deleting a namespace should delete related User Directory definitions

  • [ONEP-2082] - Reset password internal user directory detection doesn't work in devel3

  • [ONEP-2083] - Password Reset link token code should not invalidate until user interacts in page

  • [ONEP-2085] - Password Reset user search should ignore soft-deleted users

  • [ONEP-2087] - Deleting namespace should delete related user directory links

  • [ONEP-2098] - User consent api 'onlyExplicit=false' parameter returns always an error

New Feature

  • [ONEP-1934] - Add /user/{userId}/consent APIs to make user-specific consent jobs easier

  • [ONEP-2023] - Add API to send the "welcome" email to user

  • [ONEP-2091] - Waltti: Monetary event proxy API

  • [ONEP-2100] - Automated User Consent migration tool after server upgrade

Task

  • [ONEP-2068] - Update Finnish municipality list, link in About dialog

Improvement

  • [ONEP-1924] - Improve SMS sending resiliency with intelligent gateway switch-over

  • [ONEP-2015] - Set user consent to false if "granted": false is given when creating new consents

  • [ONEP-2017] - Prevent use of Password Reset if user is from external User Directory

  • [ONEP-2018] - Add permission for switching primary directory

  • [ONEP-2019] - Automatic consent synchronization between old and new

  • [ONEP-2020] - Investigate possible conflict with educationProviderId and educationProviderName

  • [ONEP-2025] - Change log configuration: do not use stdout for everything

  • [ONEP-2027] - HSLID: Add parental consent confirmation to user registration page

  • [ONEP-2035] - Improve user search speed

  • [ONEP-2037] - Drop deprecated User indexing

  • [ONEP-2039] - Replace @Indexed annotations with Indexer

  • [ONEP-2042] - Fix SMSUISender check methods

  • [ONEP-2044] - Add searchText support to user REST search

  • [ONEP-2060] - Import encrypted personal id from user directory

  • [ONEP-2061] - Import groups from user directory

  • [ONEP-2062] - Add employee info to User

  • [ONEP-2063] - Improve user directory permission handling

  • [ONEP-2065] - Improve openid login view's error messages

  • [ONEP-2069] - Implement hard-coded directory attributes

  • [ONEP-2070] - New customer specific module

  • [ONEP-2071] - Review test-case logging and profiles

  • [ONEP-2073] - Allow admin to change user's directory links

  • [ONEP-2078] - UI Groups view: Display related roles in list to improve group-role relationship understanding

  • [ONEP-2079] - Update ClusterNode started timestamp even if cluster is not active

  • [ONEP-2080] - Removing groups is very slow on large installations

  • [ONEP-2086] - Waltti sales: During sales add companyId value to salePlace as well

  • [ONEP-2088] - Disable changing password for users from external directory

  • [ONEP-2089] - Update sales-history-api-client to 1.1.0.2

  • [ONEP-2095] - ETB: Fix possible error when accepting admin invite using /api/rest/v1/etb/invite/{inviteId}/accept endpoint