mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Better handling of two cases:
- user not authorized to see a particular request (not hers/his) - user not authorized to use a service SVN:trunk[869]
This commit is contained in:
@@ -271,9 +271,8 @@ EOF
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<pre>\n";
|
||||
print_r($aParameters);
|
||||
echo "</pre>\n";
|
||||
// User not authorized to use this service ?
|
||||
DisplayMainMenu($oP);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -681,7 +680,7 @@ function RequestDetails(WebPage $oP, $id)
|
||||
$oRequest = FindRequest($id);
|
||||
if (!is_object($oRequest))
|
||||
{
|
||||
echo "Request not found !";
|
||||
DisplayMainMenu($oP);
|
||||
return;
|
||||
}
|
||||
$iDefaultStep = 0;
|
||||
|
||||
Reference in New Issue
Block a user