Skip to content

Commit 5d1d65c

Browse files
committed
added ReportResource authentication and authorization
Change-Id: I897e7db9e0ad283cf7b93a68ed8f5b6ef8e26d93
1 parent 2fc6c54 commit 5d1d65c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

codespeed/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ class ReportResource(ModelResource):
152152
class Meta:
153153
queryset = Report.objects.all()
154154
allowed_methods = ['get']
155-
authorization = Authorization()
155+
authorization = DjangoAuthorization()
156+
authentication = MultiAuthentication(ApiKeyAuthentication(), Authentication())
156157

157158

158159
class ResultBundle(Bundle):

0 commit comments

Comments
 (0)