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

Implement conditionally assigned relationships dependent on relationships/RDVPs

    XMLWordPrintable

    Details

      Description

      There's currently no way to conditionally assign relationships using a "condition" on a grantor that is based/dependent on other relationships such as a RDVP.

      An example would be a group with a condition field of "/roleIds eq \"role-1\"" where roleIds is an array virtual property that is derived from the "roles" relationship field.

      Currently we only support conditions on primary properties such as "/city sw \"Van\""

      OPENIDM-16429 describes the work to investigate support of the ability to conditionally grant relationships based on other relationship fields.

      This Jira is filed for the coding effort to begin upon completion of OPENIDM-16429

      Acceptance Criteria:

      • Implemented each scenario:
        • Can create grantor verices and all relationships are calculated/created as expected
        • Can create grantee vertices and all relationships are calculated/created as expected
        • Can update/patch grantor vertices and all relationships are calculated/updated as expected
        • Can update/patch grantee vertices and all relationships are calculated/updated as expected
        • Can delete grantor vertices and all relationships are deleted/cleaned-up as expected
        • Can delete grantee vertices and all relationships are deleted/cleaned-up as expected
        • Can create relationship edges and and all relationships are calculated/created as expected
        • Can update relationship edges and and all relationships are calculated/updated as expected
        • Can patch relationship edges and and all relationships are calculated/updated as expected
        • Can delete relationship edges and and all relationships are calculated/updated as expected
      • Functional tests that cover the above scenarios in a simple case and a complex case where relationships continue to update based on changes to previous relationships.

        Attachments

          Issue Links

            Activity

              People

              katie.gonzalez Katie Gonzalez
              katie.gonzalez Katie Gonzalez
              Julian Keller Julian Keller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: