1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-01 23:31:41 +01:00

[PM-8997] Revert restriction for provider users (#4223)

* reverted restriction for provider users

* updated comment
This commit is contained in:
SmithThe4th 2024-06-24 15:05:25 -04:00 committed by GitHub
parent 95f54b616e
commit d064ee73fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;