Drive file permission in real action

This commit is contained in:
2026-01-12 00:48:09 +08:00
parent c052f17623
commit bd41568578
4 changed files with 213 additions and 17 deletions

View File

@@ -43,6 +43,7 @@ using (var scope = app.Services.CreateScope())
// Run one-time migration
var migrationService = scope.ServiceProvider.GetRequiredService<FileMigrationService>();
await migrationService.MigrateCloudFilesAsync();
await migrationService.MigratePermissionsAsync();
}
app.ConfigureAppMiddleware();