+export const isRunner = (user, tournament) => {
+ const p = isParticipant(user, tournament);
+ return p && p.roles && p.roles.includes('runner');
+};
+
+export const isTournamentAdmin = (user, tournament) => {
+ const p = isParticipant(user, tournament);
+ return p && p.roles && p.roles.includes('admin');
+};
+