View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012215 | mantisbt | bugtracker | public | 2010-07-28 17:48 | 2014-02-05 07:55 |
| Reporter | dhx | Assigned To | dregad | ||
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Product Version | 1.3.0-beta.1 | ||||
| Summary | 0012215: Write to target_version field may fail due to unhandled access check | ||||
| Description | Shakra reported on IRC a regression in 1.3.x (as per 0012097) whereby this line: $t_updated_bug->target_version = gpc_get_string( 'target_version', $t_existing_bug->target_version ); Should really be: if( access_has_project_level( config_get( 'roadmap_update_threshold' ), $t_existing_bug->project_id ) ) { | ||||
| Tags | No tags attached. | ||||
|
Removed assignment. dhx will not contribute to this issue in near future. |
|
|
I believe this should be fixed by 0016475, which basically skips triggering the access denied error when we're not actually trying to change the target_version. In a normal situation, the target_version field is not displayed for update to users who don't have access to it. Implementing the above is probably belt and braces. Let me know what you think. |
|
|
It seems that with the fix for 0016475 we have the right protection and we only pay the cost for the check when the value changes. I was going to say we should do the right thing and fix it, but as I looked at the diff, I think it is OK to resolve as duplicate. |
|