Unverified Commit adc2475e authored by andreas divaris's avatar andreas divaris Committed by GitHub
Browse files

feat: OPTIC-116: User soft-deletion API (#4876)



* feat: OPTIC-116: User soft-deletion API

* Add new HasOwnerPermission to check owner for deletion, add soft_delete function

* Update tests

* Add linting changes

* Add permission_required to view

* Linting fix

* Updates to fix soft delete and add typing

* Add newlines for test legibility

* Update status code, update typing error

* Add new url to all_urls.json

---------

Co-authored-by: default avatardredivaris <dredivaris@users.noreply.github.com>
parent d592c791
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment