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
It is always a need for custom actions to config permissions, serializer_class, etc.. at the custom-action-level. is there any workarounds for these situations?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Are you hoping to be able to pre-configure that serialiser permissions checks etc for multiple actions? or are you hoping to be able to re-use existing logic as used by the provided actions such as create ,update etc?
no not currently, as it is today custom actions just get the raw json that is being sent to them they do not attempt to parse it.
As for permission classes the permissions classes do get the action name as an augment in has_permission it is an interesting suggestion to allow overloading this on the action decorator.
It is always a need for custom actions to config permissions, serializer_class, etc.. at the custom-action-level. is there any workarounds for these situations?
Thanks in advance
The text was updated successfully, but these errors were encountered: