[midPoint-git] [Evolveum/midpoint] 147a7f: Fix removal of projections when focus is archived
Radovan Semancik
noreply at github.com
Mon Oct 13 08:33:05 CEST 2025
Branch: refs/heads/license-eupl
Home: https://github.com/Evolveum/midpoint
Commit: 147a7f8221532fd7cbfa33320aff3cebb92a0941
https://github.com/Evolveum/midpoint/commit/147a7f8221532fd7cbfa33320aff3cebb92a0941
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathSegmentImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PayloadEvaluation.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules2.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLifecycle.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLifecycleBasic.java
Log Message:
-----------
Fix removal of projections when focus is archived
When the focus was moved into a lifecycle state with assignments being
inactive (e.g., "archived" state), the projections were not removed if:
1) default assignment enforcement policy was set
2) and the projections were mandated by an induced role.
The reason laid in the wrong determination of what assignments are to
be considered inactive for focus lifecycle states that have
"assignments active: NO" property. (I.e., all states except "active",
"deprecated", and "suspended", see "Object Lifecycle" in the docs.)
Originally, all assignments with order=1 were considered inactive
for such focus objects. E.g., if a user (in "archived" LC state) had
an assignment to RoleA and it had inducement to RoleB (all assignments
and roles being in "active" LC state), both assignment and inducement
were considered inactive. This is somewhat reasonable, but more logical
is to restrict the deactivation only to direct assignments, i.e., those
residing right in the focus object. In the case above, only the
assignment from the user to RoleA is inactive; the inducement from RoleA
to RoleB is now considered active.
This fixes the reported issue (MID-10813). See the change in
PathSegmentEvaluation#computeActivity.
Related change:
The object policy rules-related condition in PayloadEvaluation#evaluate
method had to be changed in turn, as the above change caused evaluating
some rules that should not be evaluated. This commit fixes not only this
effect, but also more cases, where object policy rules were evaluated
for inactive (not valid) assignments. Please see adapted tests
(TestLifecycleBasic, TestPolicyRules2) for details.
The solution provided in this commit is limited and hence not ideal.
It is so in order to minimize behavior changes in 4.8.x, as this commit
is to be backported there. The behavior of object policy rules regarding
inactive (not valid) objects needs to be re-thought; see newly
created task MID-10904.
Commit: 2014fdc5b1ffade014eeb3615a8746bf56cd50a0
https://github.com/Evolveum/midpoint/commit/2014fdc5b1ffade014eeb3615a8746bf56cd50a0
Author: honchar <honchar at evolveum.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-case-management-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-certification-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
Log Message:
-----------
fix for #10898 Missing messages for "More..." items in Access Certification search boxes
Commit: 8c352f4a9a668ab79f6332f8ee9bf532f06191e6
https://github.com/Evolveum/midpoint/commit/8c352f4a9a668ab79f6332f8ee9bf532f06191e6
Author: honchar <honchar at evolveum.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M docs/admin-gui/resource-wizard/association-type/index.adoc
M docs/admin-gui/resource-wizard/association-type/subject/index.adoc
M docs/admin-gui/resource-wizard/association-type/subject/provisioning-from-resource/index.adoc
M docs/admin-gui/resource-wizard/association-type/subject/provisioning-to-resource/index.adoc
M docs/admin-gui/resource-wizard/object-type/activation/index.adoc
M docs/admin-gui/resource-wizard/object-type/capability/index.adoc
M docs/admin-gui/resource-wizard/object-type/credentials/index.adoc
M docs/admin-gui/resource-wizard/object-type/index.adoc
M docs/admin-gui/resource-wizard/object-type/mapping/advanced-mappings.adoc
M docs/admin-gui/resource-wizard/object-type/mapping/index.adoc
M docs/admin-gui/resource-wizard/object-type/policies/index.adoc
M docs/admin-gui/resource-wizard/object-type/synchronization/index.adoc
M docs/admin-gui/resource-wizard/wizard-existing-resource/index.adoc
M docs/admin-gui/role-wizard/index.adoc
M docs/schema/archetypes/configuration-gui/archetypes-in-object-type-wizard.adoc
M docs/schema/archetypes/configuration-gui/index.adoc
M docs/schema/archetypes/person.adoc
M docs/schema/custom-schema-extension/changing-schema-extension-via-GUI/index.adoc
M docs/tasks/shadow-reclassification-task/gui.adoc
Log Message:
-----------
Merge branch 'master' of https://github.com/Evolveum/midpoint
Commit: 9c683636127200d07f3a99f84fa378410fe035be
https://github.com/Evolveum/midpoint/commit/9c683636127200d07f3a99f84fa378410fe035be
Author: honchar <honchar at evolveum.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignActionButton.java
Log Message:
-----------
fix for #10897 Can start campaign operation again while campaign start task is executing
Commit: 82c6c370d2cb69e4249e4ba2f4f87ad694032781
https://github.com/Evolveum/midpoint/commit/82c6c370d2cb69e4249e4ba2f4f87ad694032781
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignActionButton.java
M infra/schema/src/main/resources/xml/ns/public/common/common-case-management-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-certification-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
Log Message:
-----------
Merge remote-tracking branch 'origin/master' into fix/10813
Commit: c384facd78e9ddd2e1c30e3975971fb50165dc9a
https://github.com/Evolveum/midpoint/commit/c384facd78e9ddd2e1c30e3975971fb50165dc9a
Author: honchar <honchar at evolveum.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/DateIntervalSearchPopupPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/DateSearchItemPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ItemPathSearchPopupPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/wrapper/DateSearchItemWrapper.java
Log Message:
-----------
fix for #10900 Filter remains active after clearing startTimestamp filter on campaign list
Commit: 813c725d18b1fea40b84bc2165f1443d9b043598
https://github.com/Evolveum/midpoint/commit/813c725d18b1fea40b84bc2165f1443d9b043598
Author: honchar <honchar at evolveum.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathSegmentImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PayloadEvaluation.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules2.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLifecycle.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLifecycleBasic.java
Log Message:
-----------
Merge branch 'master' of https://github.com/Evolveum/midpoint
Commit: 5c83ca7d75208bf21ab7b9726425c593ca4233db
https://github.com/Evolveum/midpoint/commit/5c83ca7d75208bf21ab7b9726425c593ca4233db
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M release-notes.adoc
Log Message:
-----------
updated release notes
Commit: 0f0ce9dbba8796616a8c813d84d235ed87b2dafb
https://github.com/Evolveum/midpoint/commit/0f0ce9dbba8796616a8c813d84d235ed87b2dafb
Author: Jiří Huf <jiri.huf at evolveum.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-inbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-outbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-override.png
Log Message:
-----------
fix images - remove "reset path"
Commit: 0d30ed6cd9c82b22967c3492be9aaca009dde866
https://github.com/Evolveum/midpoint/commit/0d30ed6cd9c82b22967c3492be9aaca009dde866
Author: jirihuf <85359357+jirihuf at users.noreply.github.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-inbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-outbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-override.png
Log Message:
-----------
Merge pull request #414 from Evolveum/docs/master/fix/mapping-screenshots
fix images - remove "reset path"
Commit: 9b92d99e7c844182cfeba0b5d4a5520f5fb81e4b
https://github.com/Evolveum/midpoint/commit/9b92d99e7c844182cfeba0b5d4a5520f5fb81e4b
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/OrgStructFunctionsImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestFunctions.java
Log Message:
-----------
MID-10880 fixed query for midpoint.getManagersOfOrg() unnecessary search using ObjectType instead of UserType
Commit: 323ba25b71722fc17c735835d4330a52176595dc
https://github.com/Evolveum/midpoint/commit/323ba25b71722fc17c735835d4330a52176595dc
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-inbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-outbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-override.png
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Commit: 2d51857340e2ddfe76201d520602e3646c6a40ed
https://github.com/Evolveum/midpoint/commit/2d51857340e2ddfe76201d520602e3646c6a40ed
Author: Radovan Semancik <radovan.semancik at evolveum.com>
Date: 2025-10-13 (Mon, 13 Oct 2025)
Changed paths:
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-inbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-outbound.png
M docs/admin-gui/resource-wizard/object-type/mapping/step-2-mappings-override.png
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/DateIntervalSearchPopupPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/DateSearchItemPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ItemPathSearchPopupPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/wrapper/DateSearchItemWrapper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignActionButton.java
M infra/schema/src/main/resources/xml/ns/public/common/common-case-management-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-certification-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/OrgStructFunctionsImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathSegmentImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PayloadEvaluation.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules2.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestFunctions.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLifecycle.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLifecycleBasic.java
M release-notes.adoc
Log Message:
-----------
Merge branch 'master' into license-eupl
Commit: fafa384b6cacbb0f7df7aa7e83a979fc6cebdafb
https://github.com/Evolveum/midpoint/commit/fafa384b6cacbb0f7df7aa7e83a979fc6cebdafb
Author: Radovan Semancik <radovan.semancik at evolveum.com>
Date: 2025-10-13 (Mon, 13 Oct 2025)
Changed paths:
M config/sql/generic/oracle-4.9-all.sql
M config/sql/generic/oracle-upgrade-4.8-4.9.sql
M config/sql/generic/oracle-v23upgrade.sql
M config/sql/generic/sqlserver-4.9-all.sql
M config/sql/generic/sqlserver-upgrade-4.8-4.9.sql
M config/sql/native/postgres-audit-upgrade.sql
M config/sql/native/postgres-audit.sql
M config/sql/native/postgres-quartz.sql
M config/sql/native/postgres-upgrade.sql
M config/sql/native/postgres.sql
M dist/src/main/bin/midpoint.bat
M dist/src/main/bin/midpoint.sh
M dist/src/main/bin/ninja.bat
M dist/src/main/bin/ninja.sh
M dist/src/main/bin/service.bat
M dist/src/main/bin/start.bat
M dist/src/main/bin/start.sh
M dist/src/main/bin/stop.bat
M dist/src/main/bin/stop.sh
M repo/repo-sql-impl-test/sql-procedures/oracle.sql
M repo/repo-sql-impl-test/sql-procedures/postgresql.sql
M repo/repo-sql-impl-test/sql-procedures/sqlserver.sql
M testing/story/src/test/resources/associations-real/run-test-repeatedly.bat
M testing/story/src/test/resources/perf/import/source.sql
M tools/ninja/src/test/resources/ninja-native/create-ninja-native-db.sql
M tools/ninja/src/test/resources/ninja-native/drop-ninja-native-db.sql
M tools/perf-test/perf-results-db.sql
M tools/perf-test/perf-test-process.sh
Log Message:
-----------
Copyright headers: sql, sh, bat
Commit: cb9dd71bebe4553413eb1a257462201bf53f613d
https://github.com/Evolveum/midpoint/commit/cb9dd71bebe4553413eb1a257462201bf53f613d
Author: Radovan Semancik <radovan.semancik at evolveum.com>
Date: 2025-10-13 (Mon, 13 Oct 2025)
Changed paths:
M CONTRIBUTING.md
M LICENSE
R LICENSE.AL
M README
M README.md
Log Message:
-----------
License/readme files: EUPL
Compare: https://github.com/Evolveum/midpoint/compare/1d2d10a766ea...cb9dd71bebe4
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