From fde268d8ab70d8fbfb31522ecb33bd5fb639a2c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 24 Jul 2014 14:16:26 +0200 Subject: [PATCH] Fixed small problem with browsable api --- taiga/base/api/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/taiga/base/api/views.py b/taiga/base/api/views.py index 19a81b79..c321c3d1 100644 --- a/taiga/base/api/views.py +++ b/taiga/base/api/views.py @@ -291,6 +291,9 @@ class APIView(View): if not permission.check_permissions(action=action, obj=obj): self.permission_denied(request) + def check_object_permissions(self, request, obj): + self.check_permissions(request, None, obj) + def check_throttles(self, request): """ Check if request should be throttled.