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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user