mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Access right on display explain search
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user