Bugfix: NotSupportedException when reading Browse with RowPermissions.
Simplified LINQ query for validating row permissions, to avoid the NHibernate exceptions.
The simplified query avoids casting to IEntity when selecting ID, and uses an explicit type in allowedReadItemPredicateParameter (_reflection.EntityType) instead of implicit use of implicit use of generic parameter TEntityInterface (.Where(allowedItem => ..)).
Merge branch 'master' of https://github.com/Rhetos/Rhetos