mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[AC-2881] Remove Organization.FlexibleCollections from code (#4552)
* Remove Organization.FlexibleCollections from code * Drop Organization.FlexibleCollections column in EF databases (MSSQL column to be retained for 1 additional deployment to support rollback in cloud)
This commit is contained in:
@ -19,7 +19,6 @@ namespace Bit.Core.Test.AutoFixture.OrganizationFixtures;
|
||||
public class OrganizationCustomization : ICustomization
|
||||
{
|
||||
public bool UseGroups { get; set; }
|
||||
public bool FlexibleCollections { get; set; }
|
||||
public PlanType PlanType { get; set; }
|
||||
|
||||
public void Customize(IFixture fixture)
|
||||
@ -36,7 +35,6 @@ public class OrganizationCustomization : ICustomization
|
||||
.With(o => o.Id, organizationId)
|
||||
.With(o => o.MaxCollections, maxCollections)
|
||||
.With(o => o.UseGroups, UseGroups)
|
||||
.With(o => o.FlexibleCollections, FlexibleCollections)
|
||||
.With(o => o.PlanType, PlanType)
|
||||
.With(o => o.Seats, seats)
|
||||
.With(o => o.SmSeats, smSeats));
|
||||
@ -198,12 +196,10 @@ internal class TeamsMonthlyWithAddOnsOrganizationCustomization : ICustomization
|
||||
public class OrganizationCustomizeAttribute : BitCustomizeAttribute
|
||||
{
|
||||
public bool UseGroups { get; set; }
|
||||
public bool FlexibleCollections { get; set; }
|
||||
public PlanType PlanType { get; set; } = PlanType.EnterpriseAnnually;
|
||||
public override ICustomization GetCustomization() => new OrganizationCustomization()
|
||||
{
|
||||
UseGroups = UseGroups,
|
||||
FlexibleCollections = FlexibleCollections,
|
||||
PlanType = PlanType
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user