@@ -0,0 +1,262 @@
+__author__ = 'prism'%0Afrom rest_framework import permissions%0A%0A%0Aclass IsAccountOwner(permissions.BasePermission):%0A    def has_object_permission(self, request, view, account):%0A        if request.user:%0A            return account == request.user%0A        return False%0A

add permission