diff --git a/app/features/tournament-bracket/core/Tournament.ts b/app/features/tournament-bracket/core/Tournament.ts index 4e76259f7..f8fa2572a 100644 --- a/app/features/tournament-bracket/core/Tournament.ts +++ b/app/features/tournament-bracket/core/Tournament.ts @@ -587,6 +587,8 @@ export class Tournament { if (!user) return false; if (isAdmin(user)) return true; + if (this.ctx.author.id === user.id) return true; + return this.ctx.staff.some( (staff) => staff.id === user.id && staff.role === "ORGANIZER", ); @@ -596,6 +598,8 @@ export class Tournament { if (!user) return false; if (isAdmin(user)) return true; + if (this.ctx.author.id === user.id) return true; + return this.ctx.staff.some( (staff) => staff.id === user.id && ["ORGANIZER", "STREAMER"].includes(staff.role),