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:
parent
95f54b616e
commit
d064ee73fc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user