Fix regression introduced in r5298: Portal user could not change its preferences.

Removed the 'grant_by_profile' category check in UserRights::GetSelectFilter().

SVN:trunk[5302]
This commit is contained in:
Guillaume Lajarige
2018-01-31 12:29:20 +00:00
parent 9d817f0c77
commit 4bd3084403

View File

@@ -930,7 +930,7 @@ class UserRights
if (self::IsAdministrator()) return true;
if (MetaModel::HasCategory($sClass, 'bizmodel') || MetaModel::HasCategory($sClass, 'grant_by_profile'))
if (MetaModel::HasCategory($sClass, 'bizmodel'))
{
return self::$m_oAddOn->GetSelectFilter(self::$m_oUser, $sClass, $aSettings);
}