1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 18:23:44 +00:00

Resolved an issue where autoscaling always happened (#5765)

This commit is contained in:
Conner Turnbull
2025-05-02 12:53:06 -04:00
committed by GitHub
parent cd3f16948b
commit 077d0fa6d7
4 changed files with 145 additions and 4 deletions

View File

@@ -49,6 +49,7 @@ public interface IOrganizationService
IEnumerable<Guid> organizationUserIds, Guid? revokingUserId);
Task CreatePendingOrganization(Organization organization, string ownerEmail, ClaimsPrincipal user, IUserService userService, bool salesAssistedTrialStarted);
Task ReplaceAndUpdateCacheAsync(Organization org, EventType? orgEvent = null);
Task<(bool canScale, string failureReason)> CanScaleAsync(Organization organization, int seatsToAdd);
void ValidatePasswordManagerPlan(Models.StaticStore.Plan plan, OrganizationUpgrade upgrade);
void ValidateSecretsManagerPlan(Models.StaticStore.Plan plan, OrganizationUpgrade upgrade);