[midPoint-git] [Evolveum/midpoint] a071f1: Fix showing Save button for #modify exec autz
mederly
noreply at github.com
Wed Aug 14 11:06:11 CEST 2024
Branch: refs/heads/support-4.8
Home: https://github.com/Evolveum/midpoint
Commit: a071f1f66bceb8bc17d7ca98d943268c000b7d8a
https://github.com/Evolveum/midpoint/commit/a071f1f66bceb8bc17d7ca98d943268c000b7d8a
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-08-14 (Wed, 14 Aug 2024)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/AssignmentHolderOperationalButtonsPanel.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelAuthorizationAction.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-persona-management.xml
M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/EnforcerDecisionOperation.java
M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/ItemDecisionOperation.java
Log Message:
-----------
Fix showing Save button for #modify exec autz
The Save button for object edit operations is shown if there's
either any modifiable item, or any #modify authorization for
the execution phase. The latter is used if there's #assign or
similar autz, because it is not visible via modifiable items.
This commit fixes two things:
- The security enforcer did not expect empty deltas when
being asked for delta-related authorizations. Now it allows
such deltas, provided there is at least one relevant
authorization.
- The GUI used null deltas when asking. Now it uses empty
modification deltas.
Related to MID-9898.
(Unrelated: Fixing item-level autz logging.)
Commit: 3172bf94d22bbed3438e3bf1332178f5169de3fb
https://github.com/Evolveum/midpoint/commit/3172bf94d22bbed3438e3bf1332178f5169de3fb
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-08-14 (Wed, 14 Aug 2024)
Changed paths:
M gui/admin-gui/pom.xml
M gui/admin-gui/src/frontend/scss/midpoint.scss
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/ObjectListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/ContainerableListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/MultivalueContainerListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/BaseSortableDataProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/SingleSelectTileTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/data/InMemoryAssignmentDataProviderFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/data/RepositoryAssignmentDataProviderFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/abstractrole/component/MemberOperationsQueryUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/configuration/component/NotificationConfigTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/focus/component/FocusProjectionsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceObjectsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/InboundAttributeMappingsTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/MappingOverrideTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/BoxedTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/CountToolbar.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/PagingSizePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/RoleAnalysisTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/CaseWorkItemsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageDebugList.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboardConfigurable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/session/SessionStorage.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/SmartAssignmentCollection.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestBugreports.java
M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/RepositoryService.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/NativeRepositoryFeatures.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/QueryInterpreter.java
A repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/NativeOnlySupportedException.java
Log Message:
-----------
Merge remote-tracking branch 'origin/support-4.8' into support-4.8
Compare: https://github.com/Evolveum/midpoint/compare/55fbb18c6752...3172bf94d22b
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