Replies: 1 comment 2 replies
-
@lewoudar this is a good idea. I think your example makes a look sense. Having a new base class for the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
First of all, many thanks to the author of this library. It was the evolution of DRF I want to see!
Now, regarding permissions. I recently have a case where I need to call an external API for validation and I thought it would be good to allow asynchronous operation in the Permission class, I mean, something like the following:
Edit: I guess we will need a new base class for this feature and it will also apply to the method
has_object_permission
I'm not sure if it is easy to add. What do you think? 😅
Beta Was this translation helpful? Give feedback.
All reactions