Hi all, I'm working on a Django Channels WebsocketConsumer and I'm trying to have it "imitate" a ViewSet; the class has an associated ViewSet class, and I want to be able to check individual model objects against that ViewSet's permissions and filters.
For example, say I have some ViewSet called `FooViewSet` with some queryset. I want to be able to (using just `FooViewSet`, a user, some filters `foo_filters`, and an object `some_foo`) determine if the user has permissions to access `some_foo` and whether `some_foo` passes the filters `foo_filters`. Any ideas on how to accomplish this? -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/d1d2a2b4-4f1e-47f9-a838-89841002f807o%40googlegroups.com.
