[midPoint-git] [Evolveum/midpoint] b91a16: Fix "membership inbound sync disabled" behavior

mederly noreply at github.com
Tue Aug 27 11:04:42 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: b91a1627851e383e2ecfe49f5c4d10fc74c07ee2
      https://github.com/Evolveum/midpoint/commit/b91a1627851e383e2ecfe49f5c4d10fc74c07ee2
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/util/ReferenceResolver.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelBeans.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationSynchronizationExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ReferenceResolverImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java
    M model/model-intest/src/test/resources/associations/resource-dummy-ad.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionEvaluator.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/associations/TestAssociationsFirstStepsActiveDirectory.java
    M testing/story/src/test/resources/associations-first-steps-ad/resource-ad-300.xml

  Log Message:
  -----------
  Fix "membership inbound sync disabled" behavior

When:

1. an assignment was created via inbounds (from an association value),
2. later the target shadow is turned to "outbound only",
3. the respective association value was removed from the user account;

then the resulting behavior was wrong: the respective assignment was
removed, because there was no longer the association value we could
ask about the synchronization policies!

This is now fixed: Any assignment that is to be removed because of
range is extra checked whether there is a compatible shadow (although
no longer connected to the user account), and checks that its inbound
membership sync is not disabled.


  Commit: 9641db3a7eccef2bb1796d81d86cf359335979c5
      https://github.com/Evolveum/midpoint/commit/9641db3a7eccef2bb1796d81d86cf359335979c5
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java

  Log Message:
  -----------
  Stop considering identifiers as always loaded

Considering identifiers as always loaded made a difference in behavior
between scenarios with caches turned off and those with caches
turned on, but explicitly invalidated.

This commit fixes some failing tests.


  Commit: 2e414d863e947624161f37fee7eac00ef391c52e
      https://github.com/Evolveum/midpoint/commit/2e414d863e947624161f37fee7eac00ef391c52e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M docs/cases/approval/index.adoc
    R docs/roles-policies/object-governance.adoc
    A docs/roles-policies/object-governance/index.adoc
    A docs/roles-policies/object-governance/website-governance-owner.png
    M gui/admin-gui/src/frontend/scss/midpoint-utils.scss
    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/tile/mining/session/RoleAnalysisTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/mining/session/RoleAnalysisTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/AbstractPageObjectDetails.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageCertCampaign.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignActionButton.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ResponsesOverviewPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ResponsesOverviewPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CampaignProcessingHelper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CampaignStateHelper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CertMiscUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/components/ProgressBar.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/PageRoleAnalysis.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/PageRoleAnalysis.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/outlier/panel/OutlierAttributeItemPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisAttributeResultChartPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisInfoPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisInfoPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/aspects/RoleAnalysisClusterAnalysisAspectsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/session/RoleAnalysisMainClusterListPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/session/aspects/RoleAnalysisSessionAnalysisAspectsPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/widgets/component/RoleAnalysisIdentifyWidgetPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/widgets/component/RoleAnalysisIdentifyWidgetPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/tmp/panel/RoleAnalysisAttributePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/tmp/panel/RoleAnalysisAttributePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisOutlierDashboardPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/outlier/panel/RoleAnalysisOutlierDashboardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/tile/RoleAnalysisSessionTileTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/ObjectVerticalSummaryPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboardConfigurable.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/AssociationDescriptionHandler.java

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


Compare: https://github.com/Evolveum/midpoint/compare/98c18831c205...2e414d863e94

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list