[Feature request] Keep admin log of sent SMS

If a user deletes his sent SMS logs, they are gone for everybody, but are still kept in database. I suppose the flag_deleted field should be used in admin listings, but I see no code for that.

It was meant for audit, done via MySQL console/GUI. Unfortunately I have no plan to build the UI to manage deleted data (flag_deleted not just in SMS logs).

anton

Just wondering:

Why allow users to delete sent messages from log? If there is a reason, I think an entry marked “deleted / redacted” should still be visible, otherwise users may question the logs if they forget they deleted in the first place.

I wrote the code long ago, I chose to not actually delete data (for example SMS data). Flag it instead for backups, or audits, or trash system, or anything you can think of later.

anton

1 Like

We are going to make changes to just allow admins to delete messages. Flag_deleted was a good idea, thanks.

1 Like