mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user