Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21712

Documentation is not clear on context when using query/criterion

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: