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

allow all authenticated users to see all teams #3483

Merged
merged 1 commit into from
May 26, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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