N°1436 - Access control updated for grant_by_profile categories of classes -

Fix access to internal classes from the core engine
This commit is contained in:
Eric
2019-11-18 15:36:42 +01:00
parent e8879a0455
commit 532eb466a1

View File

@@ -180,7 +180,7 @@ class iTopOwnershipLock
{
if ($this->IsTokenValid())
{
return MetaModel::GetObject('User', $this->oToken->Get('user_id'), false);
return MetaModel::GetObject('User', $this->oToken->Get('user_id'), false, true);
}
return null;
}
@@ -349,4 +349,4 @@ class iTopOwnershipLock
}
}
}
}