Complex permissions flow for django-rest-framework (http://django-rest-framework.org).