Access right on display explain search

This commit is contained in:
Eric
2019-10-11 17:08:35 +02:00
parent 88be0d7638
commit ddf42d0358

View File

@@ -119,7 +119,7 @@ try
}
if (isset($aListParams['debug']) || UserRights::IsAdministrator())
if (isset($aListParams['debug']) || (UserRights::IsActionAllowed('ResourceRunQueriesMenu', UR_ACTION_MODIFY) == UR_ALLOWED_YES))
{
$oPage->StartCollapsibleSection(Dict::S('UI:RunQuery:MoreInfo'), false, 'SearchQuery');
$oPage->p(Dict::S('UI:RunQuery:DevelopedQuery').htmlentities($oFilter->ToOQL(), ENT_QUOTES, 'UTF-8'));
@@ -157,4 +157,4 @@ try
IssueLog::Error($e->getMessage()."\nDebug trace:\n".$e->getTraceAsString());
}
ExecutionKPI::ReportStats();
ExecutionKPI::ReportStats();