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

["relationship","null"] on 'manager' in managed.json causes tabs to disappear in the UI

    Details

      Description

      Problem

      Since OpenIDM 4.5 it's been necessary to add a null option to the type property in managed.json to avoid policy issues if the field is empty when performing recon. This is described here:

      https://forgerock.org/openidm/doc/bootstrap/integrators-guide/#policy-config-input

      However when adding this to 'manager' by setting ["relationship","null"] this causes problems with the User display in the admin UI and the tabs etc are no longer visible which means that the UI can no longer be used for user administration.

      To reproduce

      1). Install OpenIDM and create a test user.

      2). View the user in the UI and check it's displayed as expected (note the visible tabs).

      3). Edit managed.json and set ["relationship","null"]. For example:

      "manager" : {
              "type" : ["relationship","null"],
              "validate" : true,
      ...
      

      4). Ensure the change is picked up, login to the OpenIDM admin UI again and view the user and note the missing tabs (see the Before.png and After.png screenshots attached).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                huck.elliott huck.elliott
                Reporter:
                andy.itter Andy Itter
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: