This is an automated email from the ASF dual-hosted git repository.

andreapatricelli pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new ff44cb0  fixing wrong entitlement on report update console button
ff44cb0 is described below

commit ff44cb0b16fde20ba3576ba2bb2d94efdc04fb17
Author: Andrea Patricelli <andreapatrice...@apache.org>
AuthorDate: Mon Jan 18 12:11:13 2021 +0100

    fixing wrong entitlement on report update console button
---
 .../org/apache/syncope/client/console/reports/ReportDirectoryPanel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportDirectoryPanel.java
index f4ceed6..6fc8e00 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/reports/ReportDirectoryPanel.java
@@ -208,7 +208,7 @@ public abstract class ReportDirectoryPanel
                         "reportlet.conf", ReportDirectoryPanel.this, 
Model.of(model.getObject())));
 
                 MetaDataRoleAuthorizationStrategy.authorize(
-                        modal.getForm(), ENABLE, 
StandardEntitlement.RESOURCE_UPDATE);
+                        modal.getForm(), ENABLE, 
StandardEntitlement.REPORT_UPDATE);
 
                 modal.show(true);
             }

Reply via email to