Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003096 | mantisbt | bugtracker | public | 2003-03-28 17:58 | 2007-08-02 02:32 |
| Reporter | ed | Assigned To | giallu | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.17.5 | ||||
| Summary | 0003096: Edit / Delete bug notes | ||||
| Description | Is there a flag to allow non-admin (ie Manager) to edit/delete all bug notes? | ||||
| Tags | No tags attached. | ||||
|
pretty sure there's an access level config option for that... check the config file. |
|
|
Maybe $g_delete_bugnote_threshold is what you are looking for. |
|
|
Both $g_update_bugnote_threshold and $g_delete_bugnote_threshold access levels exist and are correctly referenced in bugnote_update.php and bugnote_delete.php respectively. However neither access level is reference in bugnote_view_inc.php and so the links to Edit or Delete a bug do not show even if you have the access level. Diff of my fix is:
|
|
|
Nasty little bug that I've also identified. In 'Manage -> Workflow Thresholds -> NOTES -> Delete note' the role 'developer' is checked. It is however not posible for those with a role of 'developer' to delete any notes but their own. I have applied the patch as suggested by bugnote 0011380. It does not work and results in a '[error] PHP Parse error: parse error, unexpected '}' in /usr/local/www/mantis/bugnote_view_inc.php on line 182'. Here's the unified diff, that's a bit more explicit: diff -u bugnote_view_inc.php.orig bugnote_view_inc.php
|
|
|
This issue still exists in 1.0.6 and in CVS HEAD. Here is the fix I have applied and tested. diff -u mantis-1.0.6/bugnote_view_inc.php:1.1 mantis-1.0.6/bugnote_view_inc.php:1.3 only admins and the bugnote creator can edit/delete this bugnote
|
|
related to
child of
duplicate of