Open

#0832 Remove Delete Link  

Is it possible to remove the Delete issue link?

We need to amke sure no issues can be deleted for auditing purposes.

I am able to change some of the menu items via the manage interface but this one isn't among them.

Thanks,

Greg.

Submitted by: <Greg Wilson>
28-May 2009
9 months and 2 weeks and 6 days old
Sections:User functions
Type:feature request
Urgency:normal
Added Issue followup   -   <Peter Bengtsson> permanent link

The short answer is no you can't. You have to override the template that includes it. Find it in the source code (zpt folder) and use showCheckoutableTemplates to check it out.

An alternative is to write a monkey patch.

28-May 2009
 
Added Issue followup   -   <Greg Wilson> permanent link

Peter,

OK. I finally worked out that the easiest way for me to do this was to checkout and edit the form_delete.zpt and remove the active part of that file. I also replaced the text with a notice that deleting of issues is not allowed.

It took me a long to me to work out that using checkuotabletemplates the changes are only effective while the item is checked out. i.e. I was checking items out, editing them, retracting them and wondering why the changes weren't working. A clarification of the use of this tool may help.

Thanks,

Greg.

03-Jun 2009
 
Added Issue followup   -   <Peter Bengtsson> permanent link

CheckoutableTemplates isn't for the faint-hearted. At least it makes things possible.

03-Jun 2009
 
Added Issue followup   -   <Greg Wilson> permanent link

Peter,

Checkoutable templates is a great tool and an excellent addition to Issue Tracker. I was just pointing out that it's use isn't intuitive. i.e. Changes are only valid while the item is checked out.

So some metnion of this in the documentation would be useful.

Thanks,

Greg.

03-Jun 2009
 
 
Name:
Email:
Spambot prevention:number?number?number?number? enter these numbers
File attachment:
File attachment:
Hide again hide file attachments
(<Greg Wilson>, <Peter Bengtsson>)
Tell a Friend [with more options]

Subscription to changes

 
 

Recent issues