V13: Add Guids to Users (#13868)
* Add MSSQL migration * Make upgrade possible when user doesn't have a key yet * Migrate SQLite * Migrate the external login column * Fix logging in after migration * Handle fake GUID correctly * Make GetByKey async * Resolve external logins by key instead of id * Remove usage of naive UserIdToInt * Dont use ToGuid for property type defaults * Use constant GUID for user groups * Ensure that the same GUID is used to create the root user. * Add migration for two factor logins * Add default implementations * Fix unit test * Remove TODO * Fix integration tests * Add default implementation instead of throwing Co-authored-by: Bjarke Berg <mail@bergmania.dk> * Make SQLServer migration idempotent * Add comment about SQLite * Fix typo --------- Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -84,5 +84,6 @@ public class UmbracoPlan : MigrationPlan
|
||||
To<MigrateDataTypeConfigurations>("{5F15A1CC-353D-4889-8C7E-F303B4766196}");
|
||||
To<AddGuidsToUserGroups>("{69E12556-D9B3-493A-8E8A-65EC89FB658D}");
|
||||
To<AddUserGroup2PermisionTable>("{F2B16CD4-F181-4BEE-81C9-11CF384E6025}");
|
||||
To<AddGuidsToUsers>("{A8E01644-9F2E-4988-8341-587EF5B7EA69}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user