Replies: 3 comments 3 replies
-
@lewoudar this is a good idea. I think your example makes a sense. Having a new base class for the |
Beta Was this translation helpful? Give feedback.
-
What is the current status of this? How would you @eadwinCode recommend to implement Async Permission checks at the moment? |
Beta Was this translation helpful? Give feedback.
-
@JonasTischer I totally forgot about this feature. I will create an issue for this and we can track it from there. Thanks for bringing this to my notice |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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