console/packages/migrations/test/root.ts
Kamil Kisiela 6b9192c718
Assign custom roles to members without a role (#6332)
This migration is going to create a new role for each group of members that have the same scopes but no role assigned.

Users won't be affected by this change, as they will still have the same scopes.

The role will be named Auto Role {counter}.
The counter will be reset for each organization.

The script will create 1 or 2 roles for 97% of organizations that haven't complete the migration.

Completes https://the-guild.dev/graphql/hive/product-updates/2023-12-05-member-roles
2025-01-10 12:39:21 +01:00

6 lines
364 B
TypeScript

import './2023.02.22T09.27.02.delete-personal-org.test';
import './2023.09.25T15.23.00.github-check-with-project-name.test';
import './2023.11.20T10-00-00.organization-member-roles.test';
import './2024.01.26T00.00.01.schema-check-purging.test';
import './2024.07.23T09.36.00.schema-cleanup-tracker.test';
import './2025.01.09T00-00-00.legacy-member-scopes.test';