From 0790f9859e2d9861c3b849320eaa1156d07133e6 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 15 Jan 2020 15:01:31 -0500 Subject: [PATCH] usepolicies check --- src/Core/Services/Implementations/PolicyService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Core/Services/Implementations/PolicyService.cs b/src/Core/Services/Implementations/PolicyService.cs index 9045ad6d00..ba7986a90a 100644 --- a/src/Core/Services/Implementations/PolicyService.cs +++ b/src/Core/Services/Implementations/PolicyService.cs @@ -33,12 +33,10 @@ namespace Bit.Core.Services throw new BadRequestException("Organization not found"); } - /* - if(!org.UseGroups) + if(!org.UsePolicies) { throw new BadRequestException("This organization cannot use policies."); } - */ if(policy.Id == default(Guid)) {