1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

Add Teams to SCIM API key generation (#5036)

This commit is contained in:
Alex Morask 2024-11-15 11:54:23 -05:00 committed by GitHub
parent df21d574e1
commit e16cad50b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -354,7 +354,7 @@ public class OrganizationsController : Controller
{
// Non-enterprise orgs should not be able to create or view an apikey of billing sync/scim key types
var plan = StaticStore.GetPlan(organization.PlanType);
if (plan.ProductTier != ProductTierType.Enterprise)
if (plan.ProductTier is not ProductTierType.Enterprise and not ProductTierType.Teams)
{
throw new NotFoundException();
}