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 2020/04/05 16:01:02 UTC
[isis] branch master updated: ISIS-2340: remove debugging snippet
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 9b7d00b ISIS-2340: remove debugging snippet
9b7d00b is described below
commit 9b7d00b70361c7198f95f17f117cb55cb3b77e47
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sun Apr 5 18:00:46 2020 +0200
ISIS-2340: remove debugging snippet
---
.../isis/core/security/authorization/manager/AuthorizationManager.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/core/security/src/main/java/org/apache/isis/core/security/authorization/manager/AuthorizationManager.java b/core/security/src/main/java/org/apache/isis/core/security/authorization/manager/AuthorizationManager.java
index 445f19f..a4131ec 100644
--- a/core/security/src/main/java/org/apache/isis/core/security/authorization/manager/AuthorizationManager.java
+++ b/core/security/src/main/java/org/apache/isis/core/security/authorization/manager/AuthorizationManager.java
@@ -98,9 +98,6 @@ public class AuthorizationManager {
if (authorizor.isVisibleInAnyRole(identifier)) {
return true;
}
- if(session==null) {
- return false;
- }
return anyMatchOnRoles(session, roleName->authorizor.isVisibleInRole(roleName, identifier));
}