Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
5.0, 5.1, 5.2-alpha1
Description
When using the API, the usage of the Query function with Criterions is explained here:
https://confluence.ez.no/display/EZP51/2.+Browsing%2C+finding%2C+viewing#id-2.Browsing,finding,viewing-Search
however, there is no reference to the security context applied to a query, and the results depend on it. the example in: https://github.com/ezsystems/CookbookBundle/blob/master/Command/FindContent2Command.php
provided in the "Performing an advanced search" section, would default to the Anonymous context, since no user is provided.
there should be an explicit case detailing how the context is applied to a query.