New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AC-1682] Flexible collections: EF data migrations integration tests #3937
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… = 1 for all users with Manager role or 'EditAssignedCollections' permission
…lection assignments Co-authored-by: Thomas Rittson <[email protected]>
…signedCollectionUsers sql script
…EditAssignedCollections permission assigned to groups with collection access
…into ac/ac-1682/ef-migrations
…nd set all Managers to Users
…e organization data for flexible collections
This reverts commit 54cc6fa.
…ate by each OrgUser
…ncements for organizations that have not yet migrated
…ser_BumpAccountRevisionDateByCollectionId
(cherry picked from commit 00eea06)
(cherry picked from commit 26f5bf8)
(cherry picked from commit c20912f)
…already wraps it under its own transaction (cherry picked from commit 7b54d78)
… migrated in previous steps (cherry picked from commit 28bba94)
(cherry picked from commit a957530)
(cherry picked from commit deee483)
(cherry picked from commit c3ca9ec)
(cherry picked from commit fada0a8)
…ll existing Orgs (cherry picked from commit bd3b21b)
(cherry picked from commit eb7794d)
(cherry picked from commit 26768b7)
…ager available (cherry picked from commit 2890f78)
…mework project and added an interface (IExecution) to run them against the database
…ations and checked for incorrect associations between organization users and collections
…itwarden/server into ac/ac-1682/ef-migrations-tests # Conflicts: # src/Api/Billing/Controllers/ProviderBillingController.cs # src/Api/Billing/Models/Responses/ProviderSubscriptionResponse.cs # src/Billing/Controllers/StripeController.cs # src/Core/Billing/Commands/IAssignSeatsToClientOrganizationCommand.cs # src/Core/Billing/Extensions/BillingExtensions.cs # src/Core/Billing/Extensions/ServiceCollectionExtensions.cs # src/Core/Billing/Models/ConfiguredProviderPlanDTO.cs # src/Core/Billing/Queries/IProviderBillingQueries.cs # src/Core/Billing/Queries/ISubscriberQueries.cs # src/Core/Billing/Queries/Implementations/ProviderBillingQueries.cs # src/Core/Billing/Queries/Implementations/SubscriberQueries.cs # src/Core/Constants.cs # src/Core/Core.csproj # src/Core/Models/Business/SubscriptionUpdate.cs # src/Core/Services/Implementations/StripePaymentService.cs # src/Infrastructure.EntityFramework/AdminConsole/Repositories/Executions/Sqlite/OrganizationEnableCollectionEnhancements.sql # test/Api.IntegrationTest/SecretsManager/Controllers/SecretsControllerTests.cs # test/Api.Test/Billing/Controllers/ProviderBillingControllerTests.cs # test/Core.Test/Billing/Queries/ProviderBillingQueriesTests.cs # test/Core.Test/Billing/Queries/SubscriberQueriesTests.cs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of change
Objective
Enable the existing integration tests written for SQL to also validate the EF migrations that will run for Self-host instances.
Code changes
EnableCollectionEnhancements
method.Infrastructure.EntityFramework
projectBefore you submit
dotnet format --verify-no-changes
) (required)