diff --git a/src/types/Student.ts b/src/types/Student.ts index 1aa00b9..1e44d50 100644 --- a/src/types/Student.ts +++ b/src/types/Student.ts @@ -87,11 +87,11 @@ export class Student implements PrismaStudent { @Field(() => GraphQLJSON) profile: Prisma.JsonValue - @Authorized([AuthRole.PARTNER, AuthRole.ADMIN, AuthRole.MANAGER]) + @Authorized([AuthRole.PARTNER, AuthRole.ADMIN, AuthRole.MANAGER, AuthRole.MENTOR]) @Field(() => GraphQLJSON, { nullable: true }) eventContractData: Prisma.JsonValue | null - @Authorized([AuthRole.PARTNER, AuthRole.ADMIN, AuthRole.MANAGER]) + @Authorized([AuthRole.PARTNER, AuthRole.ADMIN, AuthRole.MANAGER, AuthRole.MENTOR]) @Field(() => GraphQLJSON, { nullable: true }) partnerContractData: Prisma.JsonValue | null