ego icon indicating copy to clipboard operation
ego copied to clipboard

Add soft deletes to all services

Open rtisma opened this issue 6 years ago • 0 comments

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?

rtisma avatar Mar 08 '19 19:03 rtisma