[midPoint-git] [Evolveum/midpoint] c9f3fe: Resolve deprecated approvalWorkItems container

mederly noreply at github.com
Wed Jun 7 13:47:50 CEST 2023


  Branch: refs/heads/feature/autz-improvements
  Home:   https://github.com/Evolveum/midpoint
  Commit: c9f3fec9d0bfae4f204bba15b82387fde822afd4
      https://github.com/Evolveum/midpoint/commit/c9f3fec9d0bfae4f204bba15b82387fde822afd4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/menu/LeftMenuPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDto.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/DelegationEditorPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/DelegationEditorPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/MyCaseWorkItemsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageCaseWorkItemsAllocatedToMe.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDeputyUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/cases-api/src/main/java/com/evolveum/midpoint/cases/api/util/QueryUtils.java
    M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertQueryHelper.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/util/DeputyUtils.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfileCompiler.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/AbstractWfTest.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/ExpectedWorkItem.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/other/TestDelegation.java
    M model/workflow-impl/src/test/resources/approval-task-owner/role-approver.xml
    M model/workflow-impl/src/test/resources/assignments-advanced/user-security-approver-deputy-limited.xml
    M model/workflow-impl/src/test/resources/assignments-advanced/user-security-approver-deputy.xml
    M model/workflow-impl/src/test/resources/assignments-advanced/user-security-approver.xml
    M model/workflow-impl/src/test/resources/common/041-role-approver.xml
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/DelegatorWithOtherPrivilegesLimitations.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/MidPointPrincipal.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/EnforcerOperation.java

  Log Message:
  -----------
  Resolve deprecated approvalWorkItems container

OtherPrivilegesLimitationType.approvalWorkItems was deprecated in 4.0,
but it was - by mistake - in use up to (excluding) 4.8. This commit
tries to resolve this: The legacy form is used just as a default value
for the new one (caseManagementWorkItems). This is a preparation for
complete removal of the item in the future.

Other changes:

- Workflow tests are adapted to the recent changes in authorization
processing.




More information about the midPoint-svn mailing list