with DRF 3.9.1 we have errors for custom permissions with following exception
AttributeError: OperandHolder instance has no attribute '__name__'
the self.pattern.callback.cls.permission_classes seems to return a mix of classes and instances (e.g. for a subclass of DjangoObjectPermissions)