X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster.pm;h=00f9b0f52c39d133f0e0903544e3283c634067fe;hb=2d074df734e562b0ca4992ea988d7725be58890d;hp=490fb44e726794c1d6212283650cf5ae81b2b311;hpb=3994b2a723ce18ecde2f93e653aad37650ec1ea5;p=gruntmaster-page.git diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 490fb44..00f9b0f 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -153,6 +153,7 @@ sub dispatch_request{ }, sub (/pb/ + ?:owner~&:contest~&:private~) { forbid $_{private}; + forbid contest->is_pending; response pb => 'Problems', db->problem_list(%_) },