Page 1 of 1

Keeping tracks of deleted bugs...

Posted: 20 Jan 2010, 17:30
by scubdive
Hi,

Is there anyway to keep tracks of who deleted a bug on mantis?
Maybe there is a file keeping logs of events done by mantis users????

Thanks in advance.

Re: Keeping tracks of deleted bugs...

Posted: 20 Jan 2010, 19:22
by atrol
What you could do is to disable other users than administrators to delete an issue.
This can be done with the management page.
You will have to tell your users that they have to assign this issue to you with a note to remove it.

or if this enough, you can configure that you are notified by mail when a bug has been deleted.
Search ine the documentation for
$g_default_notify_flags
$g_notify_flags

Developing a plugin for MantisBT 1.2 should be possible in a clean way without tweaking existing code.
There is an event EVENT_BUG_DELETED where you could do whatever you want (maybe storing some information in database or file)

For MantisBt 1.1 you could write a custom function
have a look at
http://www.mantisbt.org/manual/manual.c ... ctions.php
especially custom_function_default_issue_delete_validate