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

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


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

commit 7c2b7bacd8e23778a14ce590296624345f9ab33d
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 f6dcda5..c72b163 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
@@ -213,7 +213,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