You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your feedback, I believe this would still not cover all possible cases here. Feel free to have a look on my PR, tests under AsyncPermissionRequiredMixinTests include all the cases that I could come up with.
I am trying to make use of PermissionRequiredMixin in an async context. My end goal is to be able to simply do:
but I'm currently (always) getting
PermissionDenied
with a console warning:coroutine 'MyView.get_permission_object' was never awaited
If this is something that others can find useful as well, please do let me know and I can look into creating a PR for this. Thanks!
The text was updated successfully, but these errors were encountered: