[midPoint-git] [Evolveum/midpoint] c40697: Fix visibility of approval buttons for attorney
mederly
noreply at github.com
Fri Apr 17 19:13:14 CEST 2020
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: c4069714e8ccc1feb02cb2d2b73390cc9cbbf989
https://github.com/Evolveum/midpoint/commit/c4069714e8ccc1feb02cb2d2b73390cc9cbbf989
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-04-17 (Fri, 17 Apr 2020)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/CaseWorkItemActionsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageCaseWorkItem.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/WorkItemDetailsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointGuiAuthorizationEvaluator.java
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/PrismAsserts.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CaseWorkItemUtil.java
M infra/test-util/src/main/java/com/evolveum/midpoint/test/util/MidPointAsserts.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelInteractionService.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/sync/TestImportRecon.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/EngineInvocationContext.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/execution/CaseOperationExecutionTaskHandler.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/execution/ExecutionHelper.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/execution/LensContextHelper.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/ChangeProcessor.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/PrimaryChangeProcessor.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/other/TestMiscellaneous.java
A model/workflow-impl/src/test/resources/miscellaneous/role-accountant.xml
A model/workflow-impl/src/test/resources/miscellaneous/role-vault-access.xml
A model/workflow-impl/src/test/resources/miscellaneous/user-gizmoduck.xml
A model/workflow-impl/src/test/resources/miscellaneous/user-launchpad.xml
A model/workflow-impl/src/test/resources/miscellaneous/user-scrooge.xml
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyTestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/AbstractAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseAsserter.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseEventAsserter.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseEventFinder.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseEventsAsserter.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseFinder.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseWorkItemAsserter.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseWorkItemFinder.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseWorkItemsAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusAsserter.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/SubcasesAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismObjectAsserter.java
M repo/security-enforcer-api/src/main/java/com/evolveum/midpoint/security/enforcer/api/SecurityEnforcer.java
M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/SecurityEnforcerImpl.java
Log Message:
-----------
Fix visibility of approval buttons for attorney
The attorney feature was fixed recently but with the exception
of Approve/Reject/Forward buttons visibility. This is implemented
in this commit, along with some tests for basic back-end attorney
approvals.
Also:
- eliminating needless execution task run when no work items were
approved
- created convenience methods runUnderPowerOfAttorney and
runUnderPowerOfAttorneyChecked in ModelInteractionService
and similar method in WebComponentUtil
This resolves MID-6225.
More information about the midPoint-svn
mailing list