Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-11494

When an internal user changes password in UI, the user's roles get removed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • OpenIDM 6.0.0
    • 6.0.0.5
    • UI
    • 1
    • OpenIDM Sprint 6.5-10.2

    Description

      When an internal user changes password in UI, the user's roles get removed. The test case:

      1. Create an internal user with two roles

      +-----------+-----+------------------------------------------------------------------------------------------------+
      | objectid  | rev | roles                                                                                          |
      +-----------+-----+------------------------------------------------------------------------------------------------+
      | idmadmin3 | 0   | [{"_ref":"repo/internal/role/openidm-admin"},{"_ref":"repo/internal/role/openidm-authorized"}] |
      +-----------+-----+------------------------------------------------------------------------------------------------+
      

      2. Login to UI as the internal user and change password. The roles become:

      +-----------+-----+-------+
      | objectid  | rev | roles |
      +-----------+-----+-------+
      | idmadmin3 | 1   | NULL  |
      +-----------+-----+-------+
      

      3. Subsequently the user is no longer able to login again.

      Attachments

        Activity

          People

            patrickdiligent patrick diligent
            yinyan.cao Yinyan Cao
            Jakub Janoska [X] Jakub Janoska [X] (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: