15five / django-scim2

A SCIM 2.0 Service Provider Implementation (for Django)
http://django-scim2.readthedocs.io/
Other
76 stars 27 forks source link

`handle_replace` explicitly calls `self.obj.save()` #40

Closed horida closed 4 years ago

horida commented 4 years ago

Describe the bug adapters.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.