Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Merge pull request #3483 from gratipay/users-can-review-teams
Browse files Browse the repository at this point in the history
allow all authenticated users to see all teams
  • Loading branch information
chadwhitacre committed May 26, 2015
2 parents 3c776df + 7f287ee commit 60a82b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/%team/index.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -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

[-----------------------------------------------------------------------------]
Expand All @@ -30,7 +28,9 @@ title = name = team.name
{% endblock %}

{% block sidebar %}
{% if team.is_approved %}
{% include "templates/your-payment.html" %}
{% endif %}
{% endblock %}

{% block content %}
Expand Down

0 comments on commit 60a82b8

Please sign in to comment.