Opened 12 years ago
Last modified 4 years ago
#10656 closed defect
provide a way to delete ticket comments from trac-admin — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 1.3.2 |
Component: | admin/console | Version: | 0.12-stable |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
trac-admin currently supports a way to remove entire tickets (ticket remove
), but doesn't allow for removal of ticket comments. Removal of ticket comments through the webui is available via the tracopt.ticket.deleter component, but this feature is bundled with TICKET_ADMIN, which is quite powerful as well, and might not be something administrators want to expose via the web UI, even if ticket comment removal is occasionally needed.
The attached patch exposes the ability to remove ticket comments via trac-admin, using the new command:
ticket_comment remove
It applies and works for me against 0.12 — i haven't tested it against 0.13.
patch to implement "ticket_comment remove" in trac-admin