Commit f1b34114 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Prevent displaying member details views for non alive projects

parent 12dc8b35
......@@ -481,6 +481,9 @@ def project_members(request, project_uuid, members_status_filter=None,
if not user.owns_project(project) and not user.is_project_admin():
return redirect(reverse('index'))
if not project.is_alive:
return redirect(reverse('project_list'))
if request.method == 'POST':
addmembers_form = AddProjectMembersForm(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment