From 7f287ee508dcc9d1dab76fb44fb873b58651d602 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Mon, 25 May 2015 23:02:23 -0400 Subject: [PATCH] Allow all authenticated users to see all teams Our team application and approval process calls for a public community comment period, which means that Gratipay users need to be able to see the teams in question. --- www/%team/index.html.spt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/%team/index.html.spt b/www/%team/index.html.spt index a87a8a4c99..b0dd201a22 100644 --- a/www/%team/index.html.spt +++ b/www/%team/index.html.spt @@ -11,8 +11,6 @@ team = get_team(state) if team.is_approved in (None, False): if user.ANON: raise Response(401) - if (not user.ADMIN) and (team.owner != user.participant.username): - raise Response(403) title = name = team.name [-----------------------------------------------------------------------------] @@ -30,7 +28,9 @@ title = name = team.name {% endblock %} {% block sidebar %} +{% if team.is_approved %} {% include "templates/your-payment.html" %} +{% endif %} {% endblock %} {% block content %}