[midPoint-git] [Evolveum/midpoint] a97e08: Fix lifecycle state vs. projections and archetypes

mederly noreply at github.com
Wed Sep 27 13:51:02 CEST 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: a97e0802ba0023e0289207e8dd56f87055d450ae
      https://github.com/Evolveum/midpoint/commit/a97e0802ba0023e0289207e8dd56f87055d450ae
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PayloadEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetMembershipCollector.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetsEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
    M model/model-impl/src/test/resources/lens/role-corp-visitor.xml
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLifecycleBasic.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/archetypes/TestArchetypes.java

  Log Message:
  -----------
  Fix lifecycle state vs. projections and archetypes

1. Originally, when assignments were inactivated because of focus
lifecycle state change (e.g. active -> archived), related projections
were NOT removed under the default enforcement policy. This is now
changed by ensuring that projections are collected also for inactivated
assignments, hence the enforcement policy can see and remove them.

2. Archetype assignments were said to be "always enabled". This behavior
was changed: only the part of the assignments that sets the archetype
is always enabled. Other functionalities, like induced mappings,
authorizations, constructions, providing values to roleMembershipRef
now behave for archetypes in the same way as for roles.

Related to MID-9061.


  Commit: e295b03434d274c7e44d023e56c544ae66e202c4
      https://github.com/Evolveum/midpoint/commit/e295b03434d274c7e44d023e56c544ae66e202c4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/button/ReloadableButton.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/ResourceTemplateProvider.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/input/expression/ScriptExpressionPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchBoxConfigurationBuilder.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchBuilder.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ShadowAuditHelper.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterExecutionHelperImpl.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/628cd21106de...e295b03434d2


More information about the midPoint-svn mailing list