Details
-
Bug
-
Resolution: Fixed
-
High
-
5.2, 5.3-dev, 5.3.1, 5.4-dev
-
None
-
CE 2014.03
-
Castor Core S1, Castor Core S2
Description
When trying to log with a special user, I got the following error :
Error : Argument '$object' is invalid: Must be of type: ContentCreateStruct, Content, VersionInfo or ContentInfo
throw by : eZ\Publish\Core\Limitation\SubtreeLimitationType::evaluate() when the object passed is a SiteAccess...
it is called by eZ\Publish\Core\Repository\Repository::canUser() where $module='user' and $function='module' when the user permission set has limitations
Unfortunately I was not able to go much further, I am trying to start using the new stack, and had a hard time with this one
Steps to reproduce the problem :
- enable dev mode
- in the ezDemo site, create a new user which only belongs to the editor group
- try to log with this user (on frontend, non legacy)