mirror of
https://github.com/bitwarden/server.git
synced 2025-02-09 00:41:37 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Provider users can only access all ciphers if RestrictProviderAccess is disabled
|
// Provider users can access all ciphers.
|
||||||
if (await _currentContext.ProviderUserForOrgAsync(organizationId))
|
if (await _currentContext.ProviderUserForOrgAsync(organizationId))
|
||||||
{
|
{
|
||||||
return !_featureService.IsEnabled(FeatureFlagKeys.RestrictProviderAccess);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user