Unverified Commit ccaa7514 authored by Julien Palard's avatar Julien Palard
Browse files

Restrict access to this endpoint.

parent 112ba249
......@@ -7,6 +7,7 @@ from django.conf import settings
from django.contrib import messages
from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin
from django.contrib.auth.models import Group
from django.contrib.auth.decorators import permission_required
from django.core.exceptions import PermissionDenied
from django.db.models import Count, Max, Q
from django.http import Http404, HttpResponseRedirect, JsonResponse
......@@ -322,6 +323,8 @@ def team(request, slug):
def test_check(request):
"""Test a given check code.
Supports Markdown
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