#2 - added implementation for Core\Model\User::getUserPermissions.