From d064ee73fc40b3e7f76b9a4888fb72eed0f78507 Mon Sep 17 00:00:00 2001 From: SmithThe4th Date: Mon, 24 Jun 2024 15:05:25 -0400 Subject: [PATCH] [PM-8997] Revert restriction for provider users (#4223) * reverted restriction for provider users * updated comment --- src/Api/Vault/Controllers/CiphersController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Vault/Controllers/CiphersController.cs b/src/Api/Vault/Controllers/CiphersController.cs index 655987f92c..6017513aec 100644 --- a/src/Api/Vault/Controllers/CiphersController.cs +++ b/src/Api/Vault/Controllers/CiphersController.cs @@ -380,10 +380,10 @@ public class CiphersController : Controller return true; } - // Provider users can only access all ciphers if RestrictProviderAccess is disabled + // Provider users can access all ciphers. if (await _currentContext.ProviderUserForOrgAsync(organizationId)) { - return !_featureService.IsEnabled(FeatureFlagKeys.RestrictProviderAccess); + return true; } return false;