kmmbvnr / django-guardian-ng

Per object permissions for Django
https://django-guardian.readthedocs.io/
Other
1 stars 0 forks source link

Async support for PermissionRequiredMixin #3

Open kmmbvnr opened 5 months ago

kmmbvnr commented 5 months ago

Original issue: https://github.com/django-guardian/django-guardian/issues/808

kmmbvnr commented 5 months ago

Proper implementation of async support would involve zero sync/async context switches.

Django itself does not support async for generic views, and PermissionRequiredMixin relies on the async solution for the get_object() method from Django. Issue is postponed