]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/helpers/permissions.js
lock rounds
[alttp.git] / resources / js / helpers / permissions.js
index 2565d44d04edd58f6000c3fc5c60e3326d7cd2f4..b7d7cfdd616b72ba5a0f271805e87e19d708d61d 100644 (file)
@@ -20,6 +20,9 @@ export const hasFinished = (user, round) =>
 export const mayAddRounds = (user, tournament) =>
        isAdmin(user) || isParticipant(user, tournament);
 
+export const maySetSeed = (user, tournament) =>
+       isAdmin(user) || isParticipant(user, tournament);
+
 export const mayViewProtocol = user =>
        isAdmin(user);