mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-01 15:14:11 +01:00
N° 1436 - Allowed orgs on Users not managed
SVN:trunk[5850]
This commit is contained in:
@@ -975,8 +975,8 @@ class UserRights
|
||||
|
||||
try
|
||||
{
|
||||
// Check only bizmodel to let API work like in 2.4.1
|
||||
if (MetaModel::HasCategory($sClass, 'bizmodel'))
|
||||
// In case of pb, use AllowAllData internally
|
||||
if (MetaModel::HasCategory($sClass, 'bizmodel') || MetaModel::HasCategory($sClass, 'grant_by_profile'))
|
||||
{
|
||||
return self::$m_oAddOn->GetSelectFilter(self::$m_oUser, $sClass, $aSettings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user