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/0bd70588
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0bd70588
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0bd70588

Branch: refs/heads/master
Commit: 0bd705889de7038991c7297426f8af0fa099d57b
Parents: 6b04236
Author: fmartelli <[email protected]>
Authored: Sat Nov 25 11:41:28 2017 +0100
Committer: fmartelli <[email protected]>
Committed: Sat Nov 25 11:52:22 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/syncope/client/console/panels/Realm.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/0bd70588/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 f8ea7bc..e3f121c 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
@@ -171,8 +171,7 @@ public abstract class Realm extends WizardMgtPanel<RealmTO> 
{
 
         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;
 

Reply via email to