Closed lukebp closed 2 years ago
Giving the fact that politeiad
comments plugin already has an
edit
command, here are the TODOs needed to have it fully implemented
and functioning:
allowedits
- global flag to enable comments edits.editperiodmax
- defines the maximum period of time in seconds where comments are still editable.politeiad
to ensure edits are allowed only during the time interval set
by the new editperiodmax
setting./edit
route to the comment API.pictl commentedit
command.GUI:
editperiodmax
setting from the comments API policy./edit
route to post edits.
Allowing temporary comment edits is desirable for certain applications and should be built into the comments plugin.