1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00

SM-850: When enrolling in SMBeta, turn on beta flag (#3098)

* SM-802: Add SecretsManagerBetaColumn SQL migration and Org table update

* SM-802: Run EF Migrations for SecretsManagerBeta

* SM-802: Update the two Org procs and View, and move data migration to a separate file

* SM-802: Add missing comma to Organization_Create

* SM-802: Remove extra GO statement from data migration script

* SM-802: Add SecretsManagerBeta to OrganizationResponseModel

* SM-802: Move SecretsManagerBeta from OrganizationResponseModel to OrganizationSubscriptionResponseModel. Use sp_refreshview instead of sp_refreshsqlmodule in the migration script.

* SM-802: Remove OrganizationUserOrganizationDetailsView.sql changes

* SM-802: Remove SecretsManagerBetaColumn migration

* SM-802: Add SecretsManagerBetaColumn migration

* SM-802: Remove OrganizationUserOrganizationDetailsView update

* SM-850: Turn on SecretsManagerBeta when enrolling in SM

* SM-850: Remove old migration files that were left when the base changed from sm/SM-802 to master
This commit is contained in:
Colton Hurst 2023-07-26 18:17:11 -04:00 committed by GitHub
parent 0c53867dbc
commit 329ae96a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -753,6 +753,7 @@ public class OrganizationsController : Controller
}
organization.UseSecretsManager = model.Enabled;
organization.SecretsManagerBeta = model.Enabled;
await _organizationService.UpdateAsync(organization);
// Turn on Secrets Manager for the user