[midPoint-git] [Evolveum/midpoint] d1fe6f: Make archetypeRef selector consider assignments

mederly noreply at github.com
Thu Nov 30 20:33:00 CET 2023


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: d1fe6f18785cd3ac3b91c618bc0349dbdf4e5b5a
      https://github.com/Evolveum/midpoint/commit/d1fe6f18785cd3ac3b91c618bc0349dbdf4e5b5a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/selector/spec/ArchetypeRefClause.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.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
    M model/model-intest/src/test/resources/security/role-employee-manager.xml
    M model/model-intest/src/test/resources/security/role-read-some-roles.xml

  Log Message:
  -----------
  Make archetypeRef selector consider assignments

The 'archetypeRef' selector traditionally matched the (effective)
'archetypeRef' object property. However, this does not work well
e.g. with the current GUI implementation for adding new objects,
where only the assignments are present. So this commit changes that.
See also the reasoning in the ArchetypeRefClause code.

(Note that this change involves only matching existing values,
not creating the filters.)

Related to MID-9268.

(cherry picked from commit d3a84ac3b8379b3d8640b457670e5aced12ff228)




More information about the midPoint-svn mailing list