Edgewall Software

Opened 7 years ago

Last modified 6 years ago

#12938 closed defect

Delete action of DeleteTicketActionController doesn't appear on batch modify — at Initial Version

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2.3
Component: ticket system Version:
Severity: normal Keywords: batch-modify
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

BatchModify filters the actions to those defined in ConfigurableTicketWorkflow: tags/trac-1.2.2/trac/ticket/batch.py@:156-161#L143.

ConfigurableTicketWorkflow only returns actions defined in trac.ini. However, DeleteTicketActionController appends the delete action for all users with TicketDelete, for all ticket statuses.

I think this is just an example of a more general defect. BatchModifyModule shouldn't use ConfigurableTicketWorkflow to filter the allowed actions.

Change History (0)

Note: See TracTickets for help on using tickets.