[midPoint-git] [Evolveum/midpoint] e99f59: Add data access permission check to mappings sugge...

Andrej noreply at github.com
Tue Mar 3 14:44:17 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: e99f593f73d632a5afc9a709a0e2a8a78d763383
      https://github.com/Evolveum/midpoint/commit/e99f593f73d632a5afc9a709a0e2a8a78d763383
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/attribute/mapping/AttributeMappingsTableWizardPanel.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/SmartIntegrationRestController.java
    M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionRemoteServiceCallActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionSchemaMatchingActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionWorkDefinition.java

  Log Message:
  -----------
  Add data access permission check to mappings suggestions

**What**

Add a control to the Mappings Suggestion activity that checks whether
the user has granted permission to use a specific type of data during
the suggestion process. This permission directly determines whether the
suggestion will use AI.

**Why**

The user has an option to chose, what data will be used by the
suggestion process (speaking about external services, not our code).
Till now, these options were ignored, or better said, not supported by
the activities. This commit adds the support for the mappings
suggestion.

Later commits may introduce similar thing for other kinds of
suggestions.

**Task**: 11118


  Commit: 84eee1c957d1921c6e3bbbd08ecc1bf42801dbb7
      https://github.com/Evolveum/midpoint/commit/84eee1c957d1921c6e3bbbd08ecc1bf42801dbb7
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/MultiSelectContainerActionTileTablePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/AssociationTypesPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/SchemaHandlingObjectsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/attribute/mapping/AttributeMappingsTableWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/correlation/CorrelationItemsTableWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/correlation/SmartCorrelationTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/component/SmartAlertGeneratingPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/page/SmartObjectTypeSuggestionWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/table/SmartObjectTypeSuggestionPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/dialog/DataAccessPermission.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/dialog/RequestDetailsConfirmationPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/dialog/RequestDetailsRecordDto.java

  Log Message:
  -----------
  Honor the user selected data access permissions

**What**

Fix the issue, where the data access permissions selected by the user
before mapping suggestion was run were not sent to the backend.

**Why**

Before running any kind of suggestion, which (may) involve calls to LLM,
the user have the possibility to specify what kind of data can be send
to LLM. This feature was however not complete and the selected
permissions were not correctly propagated to the backend. This change
fixes it for the mappings suggestion.

**Task**: 11118


Compare: https://github.com/Evolveum/midpoint/compare/5ecf6e31720d...84eee1c957d1

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