chore(core): Use roles from database in global roles (#18768)

This commit is contained in:
Andreas Fitzek
2025-08-26 17:53:46 +02:00
committed by GitHub
parent cff3f4a67e
commit ecad12b77a
117 changed files with 956 additions and 424 deletions

View File

@@ -44,7 +44,7 @@ describe('UserRepository', () => {
test('should create personal project for a user', async () => {
const { user, project } = await userRepository.createUserWithProject({
email: randomEmail(),
role: 'global:member',
role: { slug: 'global:member' },
});
const projectRelation = await Container.get(ProjectRelationRepository).findOneOrFail({