Made the dashboard index (repo list) require a login

This commit is contained in:
Correl Roush 2010-12-08 17:04:26 -05:00
parent a364b878b2
commit 7010fa8b8a

View file

@ -1,7 +1,9 @@
from django.shortcuts import render_to_response
from django.template import RequestContext
from django.contrib.auth.decorators import permission_required
from codereview.dashboard.models import Repository
@permission_required('dashboard.browse')
def index(request):
""" List available repositories
"""