From fcaa7058414472af3af6bf0322e92c4e1b6b2824 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Wed, 27 Feb 2019 11:23:16 +0300 Subject: [PATCH] Fix PermissionChecker --- .../Volo/Abp/Authorization/Permissions/PermissionChecker.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Permissions/PermissionChecker.cs b/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Permissions/PermissionChecker.cs index 624ed75146..d69ac81e78 100644 --- a/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Permissions/PermissionChecker.cs +++ b/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Permissions/PermissionChecker.cs @@ -73,8 +73,7 @@ namespace Volo.Abp.Authorization.Permissions } else if (result == PermissionGrantResult.Prohibited) { - isGranted = true; - break; + return false; } }