[midPoint-git] [Evolveum/midpoint] 843b13: Prevent deletion of protected shadows in admin GUI

mederly noreply at github.com
Fri Mar 24 20:52:16 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 843b1391ef700a0da71bed03a832a2a925cba749
      https://github.com/Evolveum/midpoint/commit/843b1391ef700a0da71bed03a832a2a925cba749
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageAdminLTE.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/shadows/ShadowTablePanel.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectOperationPolicyTypeUtil.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportFunctions.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProvisioningUtil.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/ObjectOperationPolicyHelper.java

  Log Message:
  -----------
  Prevent deletion of protected shadows in admin GUI

Before a shadow (repo shadow or resource object) is submitted for
deletion, the policy preventing the deletion is checked. If the
operation is not allowed, appropriate message is displayed.

This should resolve MID-8601.

Also, some unneeded methods were removed.




More information about the midPoint-svn mailing list