Skip to content

Commit

Permalink
On group action page, show only allowed projects
Browse files Browse the repository at this point in the history
On group action page, for "move" and "copy" actions, only allow the
selection of destination projects where the action can be performed.
Projects for which the user don't have report permission are now
disabled in the dropdown selection.

Fixes: #12444
  • Loading branch information
cproensa authored and atrol committed Sep 3, 2017
1 parent c9bc6f9 commit 141020b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bug_actiongroup_page.php
Expand Up @@ -294,7 +294,8 @@
switch( $f_action ) {
case 'COPY':
case 'MOVE':
print_project_option_list( null, false );
print_project_option_list( null /* $p_project_id */, false /* $p_include_all_projects */,
null /* $p_filter_project_id */, false /* $p_trace */, true /* $p_can_report_only */ );
break;
case 'ASSIGN':
print_assign_to_option_list( 0, $t_project_id );
Expand Down

0 comments on commit 141020b

Please sign in to comment.