feat(invitations): check contact grants on every read, cap pending invitations, and expire them at the deadline
This commit is contained in:
1 parent
676b3c6e24
commit
12a7213d4a
67 files changed
+4255
-149
No files matched your search
@@ -59,6 +59,9 @@ func TestHoldingsMigrationBackfillsFoundersAndGuardsRollback(t *testing.T) {
|
||||
if _, err := migrator.Up(ctx); err != nil {
|
||||
t.Fatalf("Up() with the holdings migration error = %v", err)
|
||||
}
|
||||
// Later migrations sit above holdings: the rollback subtests undo holdings
|
||||
// with DownOne, so the schema is taken back to the holdings version first.
|
||||
rollBackAboveMigration(ctx, t, migrator, holdingsMigrationVersion)
|
||||
|
||||
t.Run("backfill gives each founder one holding dated by its first organization", func(t *testing.T) {
|
||||
firstHolding := legacyHolding(ctx, t, pool, first)
|
||||
|
||||
Reference in new issue
Block a user