Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hard deletion of data #95

Open
kushagra189 opened this issue Nov 2, 2021 · 0 comments
Open

Remove hard deletion of data #95

kushagra189 opened this issue Nov 2, 2021 · 0 comments
Assignees
Labels
priority: high High priority status: new Has not been triaged by admin type: auth Related to authorization or authentication type flag: breaking change Proposed change breaks current API type: security Related to security workload: days Likely takes days to resolve

Comments

@kushagra189
Copy link
Collaborator

Problem:

  • All the database entries are hard deleted from the database currently. This doesn't ensure data integrity.
  • Also, there is no track of the user who is creating or updating the table. If we do not maintain this, we won't be able to check for transaction info in the future.

Fix:

  • Set a flag deleted with every data entity that is being created and change it when the object is actually deleted.
  • Set created, update user and time fields in all the entities.
@kushagra189 kushagra189 added priority: high High priority status: new Has not been triaged by admin type flag: breaking change Proposed change breaks current API type: auth Related to authorization or authentication type: security Related to security workload: days Likely takes days to resolve labels Nov 2, 2021
@kushagra189 kushagra189 self-assigned this Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high High priority status: new Has not been triaged by admin type: auth Related to authorization or authentication type flag: breaking change Proposed change breaks current API type: security Related to security workload: days Likely takes days to resolve
Projects
None yet
Development

No branches or pull requests

1 participant