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

mederly noreply at github.com
Thu Nov 30 13:05:17 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: d3a84ac3b8379b3d8640b457670e5aced12ff228
      https://github.com/Evolveum/midpoint/commit/d3a84ac3b8379b3d8640b457670e5aced12ff228
  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.




More information about the midPoint-svn mailing list