Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-6078

Optional Resource Assignments / Virtual Shadows

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: None
    • Labels:
    • Environment:

      Three Tenants: DEV, QUAL, PROD

      Two different AD resources:  corp-ad-dev, corp-ad-prod

      One Role "ACCT_CORPAD"

    • Subscription:
      Active subscription
    • Milestone:
      M3

      Description

      The Role should assign any resource to a user that is available in the tenant but not fail if there is a resource induced that does not exist. We do not want to duplicate and adapt the role for each tenant. There are possibly a lot of them.

      The number of resources actually assigned per tenant might differ:

      DEV: only corp-ad-dev assigned
      QUAL: no resoure assigned
      PROD: both corp-ad-dev and corp-ad-prod assigned.

      Therefore we are having one inducements for each resource with a condition that checks existance of the resource. This works well but requires 15 lines of code/xml per inducement. See attachement for example role.

      I would like to have one <optional> tag for each inducement that would streamline the solution and replace our custom condition.

      Some additional thoughts (not part of this request):

      Introducing such optional resouces might also come in handy when we think about testing: Extending this even further with some concept to create "Virtual Shadows" representing what the provisioned resource account would look like if it would be there. With that you can test pretty much the complete provisioning process. While the actual connector tests can be run by their independent unit tests.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hoffm_ma Martin Hoffmann
              Reporter:
              hoffm_ma Martin Hoffmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: