Skip to content

Process marker creation and updates in the back-end #104

@reinierl

Description

@reinierl

As a CyclePlanet admin, I want to be able to restore a marker page after it's been vandalised.

As a CyclePlanet admin, I want to be able to trace down the author of seriously objectionable content.

As a CyclePlanet member, I want to be able to find the author of information in order to critically review it in order to improve it.

To get there, we have to:

  • Make marker data not writable in Firebase except by cloud functions
  • All updates must go through a cloud function that writes the new content to Firebase
  • The cloud function also makes sure we store the old version, or a diff between the old and the new
  • The cloud function writes the author and timestamp of the new version
  • Add a UI to view history and revert edits (by creating a new version with the old content, not throwing away the newer bit of history!)
  • Add a UI to undo marker additions, and also bulk-undo marker additions by a certain user within a certain time window

Metadata

Metadata

Assignees

No one assigned

    Labels

    average prioritysecurityusabilityThings that add no new capabilities but will make people more efficient in the app

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions