Kinto / kinto

A generic JSON document store with sharing and synchronisation capabilities.
http://docs.kinto-storage.org/
Other
4.32k stars 421 forks source link

Revert operations from a particular timestamp #826

Open leplatrem opened 8 years ago

leplatrem commented 8 years ago

We want to be able to rollback some changes that were made since a particular timestamp.

Since clients expect that timestamp never go back in the past, the idea would be to apply the reverse operations.

It would take the history entries from that particular timestamp and apply the opposite operations (deleted records get recreated, etc.).

The permissions would be restored too.

It would fail if the history is not enabled or if the oldest timestamp of the history is superior that the one specified...

Thoughts ?

It could be:

(It could be a feature exposed in the kinto-admin too)

oronsan commented 7 years ago

can I please work on this feature? I want to add a command to the cli first

Thank you

glasserc commented 7 years ago

@oronsan I don't think anyone is working on this feature, so go for it!