You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by fm...@apache.org on 2017/11/25 10:50:25 UTC

[2/3] syncope git commit: fix realm and entity console access permissions

fix realm and entity console access permissions


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

Branch: refs/heads/2_0_X
Commit: 98cc9b1cbf91b6732d6fd5f62239c72ffba5f197
Parents: bdccedf
Author: fmartelli <fa...@gmail.com>
Authored: Sat Nov 25 11:41:28 2017 +0100
Committer: fmartelli <fa...@gmail.com>
Committed: Sat Nov 25 11:41:28 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/syncope/client/console/panels/Realm.java  | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/98cc9b1c/client/console/src/main/java/org/apache/syncope/client/console/panels/Realm.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/Realm.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/Realm.java
index fe708f8..7e6e998 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/Realm.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/Realm.java
@@ -166,13 +166,12 @@ public abstract class Realm extends WizardMgtPanel<RealmTO> {
             }
         });
 
-        final Triple<UserFormLayoutInfo, GroupFormLayoutInfo, Map<String, AnyObjectFormLayoutInfo>> formLayoutInfo =
-                FormLayoutInfoUtils.fetch(CollectionUtils.collect(anyTypes, EntityTOUtils.keyTransformer()));
+        final Triple<UserFormLayoutInfo, GroupFormLayoutInfo, Map<String, AnyObjectFormLayoutInfo>> formLayoutInfo
+                = FormLayoutInfoUtils.fetch(CollectionUtils.collect(anyTypes, EntityTOUtils.keyTransformer()));
 
         for (final AnyTypeTO anyType : anyTypes) {
             tabs.add(new ITabComponent(
-                    new Model<>(anyType.getKey()),
-                    StandardEntitlement.ANYTYPE_READ, String.format("%s_SEARCH", anyType)) {
+                    new Model<>(anyType.getKey()), String.format("%s_SEARCH", anyType.getKey())) {
 
                 private static final long serialVersionUID = 1169585538404171118L;