Skip to content

Commit

Permalink
Log about the inaccurate chart data if UseSQLForACLChecks is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnavy committed Jan 9, 2024
1 parent 2765706 commit 68fa9b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/RT/Report.pm
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,9 @@ sub SetupGroupings {
}
$self->{'_sql_current_user_can_see_applied'} = 1
}
elsif ( !RT->Config->Get('UseSQLForACLChecks') ) {
RT->Logger->notice('UseSQLForACLChecks is disabled, results might be inaccurate');
}

my %res = $self->_SetupGroupings(%args);

Expand Down

0 comments on commit 68fa9b3

Please sign in to comment.