
Django-rest-framework-guardian provides django-guardian integrations for Django REST Framework. It provides an ObjectPermissionsFilter to which will ensure that querysets only returns objects for which the user has the appropriate view permission and an ObjectPermissionsAssignmentMixin that allows permissions to be easily assigned to users and/or groups through serializers.
This package contains the Python 3 version of the library.