def get_queryset(self):
        return filter_products(Product.objects.all(), self.request.user)
Filter products that the user doesn't have permission to update
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/dashboard/catalogue/views.py/ProductCreateUpdateView.get_queryset