diff --git a/Foundation.hs b/Foundation.hs index 949b5a2..acd7d1b 100644 --- a/Foundation.hs +++ b/Foundation.hs @@ -181,6 +181,7 @@ instance Yesod App where isAuthorized UserInfoR _ = return Authorized isAuthorized MyEvaluationTriggerTokenJsonR _ = return Authorized isAuthorized (ChallengeSubmissionJsonR _) _ = return Authorized + isAuthorized (MakePublicJsonR _) _ = return Authorized isAuthorized (ChallengeReadmeInMarkdownR _) _ = regularAuthorization isAuthorized (QueryJsonR _) _ = regularAuthorization isAuthorized ListTagsJsonR _ = regularAuthorization diff --git a/static/test-gonito-as-backend.html b/static/test-gonito-as-backend.html index 1f69e59..6312959 100644 --- a/static/test-gonito-as-backend.html +++ b/static/test-gonito-as-backend.html @@ -192,6 +192,9 @@

+

+