mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Portal : Typo
SVN:trunk[4411]
This commit is contained in:
@@ -364,6 +364,12 @@ class BrowseBrickController extends BrickController
|
|||||||
// Restricting to the allowed scope
|
// Restricting to the allowed scope
|
||||||
$oScopeSearch = $oApp['scope_validator']->GetScopeFilterForProfiles(UserRights::ListProfiles(), $oSearch->GetClass(), UR_ACTION_READ);
|
$oScopeSearch = $oApp['scope_validator']->GetScopeFilterForProfiles(UserRights::ListProfiles(), $oSearch->GetClass(), UR_ACTION_READ);
|
||||||
$oSearch = ($oScopeSearch !== null) ? $oSearch->Intersect($oScopeSearch) : null;
|
$oSearch = ($oScopeSearch !== null) ? $oSearch->Intersect($oScopeSearch) : null;
|
||||||
|
// - Allowing all data if necessary
|
||||||
|
if ($oScopeSearch->IsAllDataAllowed())
|
||||||
|
{
|
||||||
|
$oSearch->AllowAllData();
|
||||||
|
}
|
||||||
|
|
||||||
if ($oSearch !== null)
|
if ($oSearch !== null)
|
||||||
{
|
{
|
||||||
$aLevelsProperties[$sCurrentLevelAlias] = array(
|
$aLevelsProperties[$sCurrentLevelAlias] = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user