]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/helpers/permissions.js
protocol frontend
[alttp.git] / resources / js / helpers / permissions.js
index ecc1e620e2796fdef58275cab0ed57bed8131fb8..891803110ace4d65b34a7acb8d514a9f6676cd6e 100644 (file)
@@ -13,3 +13,7 @@ export const isParticipant = (user, tournament) =>
 
 export const mayAddRounds = (user, tournament) =>
        isAdmin(user) || isParticipant(user, tournament);
+
+export const mayViewProtocol = user =>
+       isAdmin(user);
+