1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-22 16:57:36 +01:00

Added all missing plan fields to GetPlansHelper (#4597)

This commit is contained in:
Conner Turnbull 2024-08-07 11:22:45 -04:00 committed by GitHub
parent 4de0f2d783
commit 722dedf10d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -187,16 +187,32 @@ public class OrganizationEditModel : OrganizationViewModel
var plan = new
{
Type = p.Type,
Has2fa = p.Has2fa,
HasApi = p.HasApi,
HasGroups = p.HasGroups,
ProductTier = p.ProductTier,
Name = p.Name,
IsAnnual = p.IsAnnual,
NameLocalizationKey = p.NameLocalizationKey,
DescriptionLocalizationKey = p.DescriptionLocalizationKey,
CanBeUsedByBusiness = p.CanBeUsedByBusiness,
TrialPeriodDays = p.TrialPeriodDays,
HasSelfHost = p.HasSelfHost,
HasPolicies = p.HasPolicies,
HasSso = p.HasSso,
HasScim = p.HasScim,
HasGroups = p.HasGroups,
HasDirectory = p.HasDirectory,
HasEvents = p.HasEvents,
HasTotp = p.HasTotp,
Has2fa = p.Has2fa,
HasApi = p.HasApi,
HasSso = p.HasSso,
HasKeyConnector = p.HasKeyConnector,
HasScim = p.HasScim,
HasResetPassword = p.HasResetPassword,
UsersGetPremium = p.UsersGetPremium,
HasCustomPermissions = p.HasCustomPermissions,
UpgradeSortOrder = p.UpgradeSortOrder,
DisplaySortOrder = p.DisplaySortOrder,
LegacyYear = p.LegacyYear,
Disabled = p.Disabled,
SupportsSecretsManager = p.SupportsSecretsManager,
PasswordManager =
new
{