[midPoint-git] [Evolveum/midpoint] 2cc00c: Fix preview changes for hidden projections

mederly noreply at github.com
Wed Mar 12 14:44:04 CET 2025


  Branch: refs/heads/support-4.9
  Home:   https://github.com/Evolveum/midpoint
  Commit: 2cc00c3dc58a9cf69a0ed8fd4f5ec2158661a34a
      https://github.com/Evolveum/midpoint/commit/2cc00c3dc58a9cf69a0ed8fd4f5ec2158661a34a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-12 (Wed, 12 Mar 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.

(cherry picked from commit 32f1ab5b16c1e40ed6d09fa6a53ff4d6e1c4de87)



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