Repository: syncope
Updated Branches:
  refs/heads/2_0_X 6008f3eb1 -> 7ea4eaa38
  refs/heads/master 43c66bfe3 -> 3948bbd7f


[SYNCOPE-1177] Confirmation flag for all ActionType.DELETE


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/7ea4eaa3
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/7ea4eaa3
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/7ea4eaa3

Branch: refs/heads/2_0_X
Commit: 7ea4eaa3815349d5b7f78b950fdf863fa55fb399
Parents: 6008f3e
Author: Francesco Chicchiriccò <ilgro...@apache.org>
Authored: Wed Aug 2 09:21:40 2017 +0200
Committer: Francesco Chicchiriccò <ilgro...@apache.org>
Committed: Wed Aug 2 09:21:40 2017 +0200

----------------------------------------------------------------------
 .../syncope/client/console/panels/ParametersDirectoryPanel.java    | 2 +-
 .../client/console/reports/ReportTemplateDirectoryPanel.java       | 2 +-
 .../apache/syncope/client/console/wizards/any/Relationships.java   | 2 +-
 .../client/console/wizards/resources/ResourceProvisionPanel.java   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/7ea4eaa3/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java
index cfac249..dda7186 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/ParametersDirectoryPanel.java
@@ -175,7 +175,7 @@ public class ParametersDirectoryPanel
                 }
                 ((BasePage) 
pageRef.getPage()).getNotificationPanel().refresh(target);
             }
-        }, ActionLink.ActionType.DELETE, 
StandardEntitlement.CONFIGURATION_DELETE);
+        }, ActionLink.ActionType.DELETE, 
StandardEntitlement.CONFIGURATION_DELETE, true);
 
         return panel;
     }

http://git-wip-us.apache.org/repos/asf/syncope/blob/7ea4eaa3/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java
index 13a76c0..2d3c2c6 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportTemplateDirectoryPanel.java
@@ -191,7 +191,7 @@ public class ReportTemplateDirectoryPanel
                 }
                 ((BasePage) 
pageRef.getPage()).getNotificationPanel().refresh(target);
             }
-        }, ActionLink.ActionType.DELETE, 
StandardEntitlement.MAIL_TEMPLATE_DELETE);
+        }, ActionLink.ActionType.DELETE, 
StandardEntitlement.MAIL_TEMPLATE_DELETE, true);
 
         return panel;
     }

http://git-wip-us.apache.org/repos/asf/syncope/blob/7ea4eaa3/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
index 97e8ab6..1cc758c 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/Relationships.java
@@ -156,7 +156,7 @@ public class Relationships extends WizardStep {
                                                 
removeRelationships(relationships, modelObject);
                                                 send(Relationships.this, 
Broadcast.DEPTH, new ListViewReload<>(target));
                                             }
-                                        }, ActionType.DELETE, 
AnyEntitlement.UPDATE.getFor(anyTO.getType())).
+                                        }, ActionType.DELETE, 
AnyEntitlement.UPDATE.getFor(anyTO.getType()), true).
                                         build(panelId);
                             }
                         };

http://git-wip-us.apache.org/repos/asf/syncope/blob/7ea4eaa3/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
index fa13fc7..dfdac8a 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/resources/ResourceProvisionPanel.java
@@ -220,7 +220,7 @@ public class ResourceProvisionPanel extends 
AbstractModalPanel<Serializable> {
                         checkAddButton();
                         send(ResourceProvisionPanel.this, Broadcast.DEPTH, new 
ListViewReload<>(target));
                     }
-                }, ActionLink.ActionType.DELETE, 
StandardEntitlement.RESOURCE_UPDATE);
+                }, ActionLink.ActionType.DELETE, 
StandardEntitlement.RESOURCE_UPDATE, true);
 
         builder.addNewItemPanelBuilder(wizard);
 

Reply via email to