You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/05/28 11:04:48 UTC

[isis] branch master updated: ISIS-2705: typo (2)

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new eddf88b  ISIS-2705: typo (2)
eddf88b is described below

commit eddf88b67e9313134c0d7a3fd0d8b70ce6cc1152
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri May 28 13:04:36 2021 +0200

    ISIS-2705: typo (2)
---
 .../facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java
index 782a39e..3e6fa99 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java
@@ -68,7 +68,7 @@ public class HiddenTypeFacetDerivedFromAuthorization extends FacetAbstract imple
             val hasVisibleAction = specification.streamRuntimeActions(MixedIn.INCLUDED)
                     .anyMatch(act -> !AuthorizationFacet.hidesAction(act, vc));
 
-            if (hasVisibleCollection) {
+            if (hasVisibleAction) {
                 return null;
             }
         }