mirror of
https://github.com/bitwarden/server.git
synced 2025-02-18 02:11:22 +01:00
usepolicies check
This commit is contained in:
parent
e8054df5b4
commit
0790f9859e
@ -33,12 +33,10 @@ namespace Bit.Core.Services
|
|||||||
throw new BadRequestException("Organization not found");
|
throw new BadRequestException("Organization not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
if(!org.UsePolicies)
|
||||||
if(!org.UseGroups)
|
|
||||||
{
|
{
|
||||||
throw new BadRequestException("This organization cannot use policies.");
|
throw new BadRequestException("This organization cannot use policies.");
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
if(policy.Id == default(Guid))
|
if(policy.Id == default(Guid))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user