Page tree

Versions Compared

Key

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

...

Implementation of this scenario is simpler than usual. It consists of a single global policy rule.

...

Complete configuration for this scenario is in https://github.com/Evolveum/midpoint/tree/master/model/model-intest/src/test/resources/linked/orgs directory (and associated system configuration file).

Limitations

This scenario works in the majority of cases. More specifically, it assumes that "assigned" is the same as "linked":

  1. All assignments are effective (valid and conditions evaluated to true), so they are reflected in links.
  2. All links are backed by assignments, i.e. there are no links created by inducements or created manually (editing parentOrgRef).

But the scenario can be extended and made more robust, by:

  1. Replacing linkSource specification by custom query looking after assignment/targetRef filters.
  2. Creating additional global policy rule that will clean up the inducements for organization being deleted.