Bug 718289: The deadline field should be visible by non-members of the timetracking group

r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264484 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2012-11-26 19:31:38 +00:00
parent 5257d9d16f
commit 4eb193ff89
14 changed files with 35 additions and 35 deletions

View File

@@ -522,11 +522,9 @@ else {
# Remove the timetracking columns if they are not a part of the group
# (happens if a user had access to time tracking and it was revoked/disabled)
if (!$user->is_timetracker) {
@displaycolumns = grep($_ ne 'estimated_time', @displaycolumns);
@displaycolumns = grep($_ ne 'remaining_time', @displaycolumns);
@displaycolumns = grep($_ ne 'actual_time', @displaycolumns);
@displaycolumns = grep($_ ne 'percentage_complete', @displaycolumns);
@displaycolumns = grep($_ ne 'deadline', @displaycolumns);
foreach my $tt_field (TIMETRACKING_FIELDS) {
@displaycolumns = grep($_ ne $tt_field, @displaycolumns);
}
}
# Remove the relevance column if the user is not doing a fulltext search.