[midPoint-git] [Evolveum/midpoint] d3a84a: Make archetypeRef selector consider assignments
Viliam Repan
noreply at github.com
Thu Nov 30 19:15:51 CET 2023
Branch: refs/heads/feature/mid-9278-annotations-review
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.
Commit: c41595a33f49c91f6c226abf9ff59ad5fe351f94
https://github.com/Evolveum/midpoint/commit/c41595a33f49c91f6c226abf9ff59ad5fe351f94
Author: Viliam Repan <vilo.repan 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:
-----------
Merge remote-tracking branch 'origin/master' into feature/mid-9278-annotations-review
Compare: https://github.com/Evolveum/midpoint/compare/e824b14d3d9b...c41595a33f49
More information about the midPoint-svn
mailing list