View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003824 | mantisbt | bugtracker | public | 2004-05-11 09:57 | 2004-07-08 07:16 |
Reporter | permutations | Assigned To | vboctor | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.18.3 | ||||
Fixed in Version | 0.19.0a1 | ||||
Summary | 0003824: private bug reports and bugnotes are sent out as notifications to everyone | ||||
Description | The "private" feature isn't so private. If a bug report or bug note is marked "private", those without proper privileges can't view it on the Web, but they still receive the notifications in email. | ||||
Tags | No tags attached. | ||||
Fixed in CVS. Will be included in 0.19.0. Following is how to fix it in 0.18.x: In core/email_api.php: email_collect_recipients() * OLD CODE SNIPPET threshold$t_threshold_min = email_notify_flag( $p_notify_type, 'threshold_min' ); $t_threshold_max = email_notify_flag( $p_notify_type, 'threshold_max' ); $t_threshold_users = project_get_all_user_rows( $t_project_id, $t_threshold_min ); foreach( $t_threshold_users as $t_user ) { * NEW CODE SNIPPET threshold$t_bug_is_private = bug_get_field( $p_bug_id, 'view_state' ) == VS_PRIVATE; $t_threshold_min = email_notify_flag( $p_notify_type, 'threshold_min' ); $t_threshold_max = email_notify_flag( $p_notify_type, 'threshold_max' ); $t_threshold_users = project_get_all_user_rows( $t_project_id, $t_threshold_min ); foreach( $t_threshold_users as $t_user ) { |
|