Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14947

Allow unrestricted queries on document page providers

    XMLWordPrintable

    Details

    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Page provider property "useUnrestrictedSession" can now be used to query using an unrestricted session. Property "detachDocuments" is then set to "true" by default on the CoreQueryDocumentPageProvider.

      Show
      Page provider property "useUnrestrictedSession" can now be used to query using an unrestricted session. Property "detachDocuments" is then set to "true" by default on the CoreQueryDocumentPageProvider.
    • Sprint:
      Sprint DM/Studio 5.9.6-1

      Description

      Current page providers use a session that's given in the page provider properties. It would be useful to specify that query should be run as unrestricted using a property "useUrestrictedSession" for instance.

      When run as unrestricted, document models should be detached when retrieved, unless another property "detachDocuments" is set to false.

      Same feature is also needed for the default page provider using the CoreSession#queryAndFetch method.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified