[midPoint-git] [Evolveum/midpoint] dc6dc0: Fix preview changes for hidden projections.

KaterynaHonchar noreply at github.com
Tue Jun 17 09:43:12 CEST 2025


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: dc6dc0e225d7dbeb16ee75f7d6a61003cdca94cb
      https://github.com/Evolveum/midpoint/commit/dc6dc0e225d7dbeb16ee75f7d6a61003cdca94cb
  Author: honchar <honchar at evolveum.com>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/SchemaTransformer.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/transformer/DataAccessProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractInitializedSecurityTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java
    A model/model-intest/src/test/resources/security/role-show-users-hide-shadows.xml
    M release-notes.adoc

  Log Message:
  -----------
  Fix preview changes for hidden projections.
Projections with denied access no longer cause the preview changes operation to fail: If a user has no authorization to see particular projection (shadow), the "preview changes" operation used to finish with "Access denied" fatal error even if there were  parts of the result visible to the user. This is now fixed: only the relevant projections are hidden now. All the remaining data are displayed to the user.

This fixes also the same behavior for request access functionality, where the "preview changes" is invoked as part of conflicts preview.

Resolves MID-10397. (manual cherry-pick of the commit 32f1ab5)



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