Describe the bugadapters.py:SCIMUser.handle_replace (and SCIMGroup as well) explicitly calls self.obj.save() instead of the SCIMUser.save() (SCIMGroup.save() respectively)
Expected behavior
After calling the handle_operations in views.py:PatchView.patch call the save() method of SCIMUser (SCIMGroup).
Additional context
I need to perform checks and execute code whenever a user object is saved.
Describe the bug
adapters.py:SCIMUser.handle_replace
(andSCIMGroup
as well) explicitly callsself.obj.save()
instead of theSCIMUser.save()
(SCIMGroup.save()
respectively)Expected behavior After calling the
handle_operations
inviews.py:PatchView.patch
call thesave()
method ofSCIMUser
(SCIMGroup
).Additional context I need to perform checks and execute code whenever a user object is saved.