ego
ego copied to clipboard
Add soft deletes to all services
Currently, delete operations on any BaseService permanently deletes the record from the database. Instead, entities should soft-delete entities, in the event they need to bring them back. This includes:
- Application
- Group
- User
- Policy
- User/Group permissions
Other things to think about:
- cascading a soft delete
- how do you undelete?
- the undelete should also be cascaded
- how do you search deleted entities?