Commit 963d2ecc by Camille Harang

DjangoModelPermisson's desc

parent b2362419
...@@ -91,6 +91,8 @@ class IsUserOrIsAnonReadOnly(BasePermission): ...@@ -91,6 +91,8 @@ class IsUserOrIsAnonReadOnly(BasePermission):
class DjangoModelPermisson(BasePermission): class DjangoModelPermisson(BasePermission):
""" """
The request is authenticated against the Django user's permissions on the
`Resource`'s `Model`, if the resource is a `ModelResource`.
""" """
def check_permission(self, user): def check_permission(self, user):
......
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