Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-212

Search query on documents contains filter queries used to check read access on pages and contents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      q=*:*&start=0&rows=10&fl=id,score
      &fq=resourceCreator:admin#ametys_demo_users
      &fq=((*:* AND -_documentType:page) OR (aclReadAllowAnonymous:true OR (aclReadAllowAnyConnectedUser:true AND (*:* -((aclReadDeniedUsers:(admin#ametys_demo_users) OR ((*:* -aclReadAllowedUsers:(admin#ametys_demo_users))))))) OR (((*:* -aclReadDeniedUsers:(admin#ametys_demo_users))) OR (aclReadAllowedUsers:(admin#ametys_demo_users) AND (*:* -aclReadDeniedUsers:(admin#ametys_demo_users))))))
      &fq=((*:* AND -_documentType:content) OR (aclReadAllowAnonymous:true OR {!join from=id to=pageIds v="aclReadAllowAnonymous:true"} OR ((aclReadAllowedUsers:(admin#ametys_demo_users) AND (*:* -aclReadDeniedUsers:(admin#ametys_demo_users))) AND (*:* - pageIds:* OR {!join from=id to=pageIds v="(*:* -(aclReadDeniedUsers:(admin#ametys_demo_users)))"})) OR ((*:* -(aclReadDeniedUsers:(admin#ametys_demo_users))) AND {!join from=id to=pageIds v="(aclReadAllowedUsers:(admin#ametys_demo_users) AND (*:* -aclReadDeniedUsers:(admin#ametys_demo_users)))"}) OR (aclReadAllowAnyConnectedUser:true AND (*:* - pageIds:* OR {!join from=id to=pageIds v="(*:* -(aclReadAllowAnyConnectedUser:false))"}) AND ((*:* -(aclReadDeniedUsers:(admin#ametys_demo_users))) AND {!join from=id to=pageIds v="(*:* -(aclReadDeniedUsers:(admin#ametys_demo_users)))"})) OR ((*:* -(aclReadAllowAnyConnectedUser:false)) AND {!join from=id to=pageIds v="aclReadAllowAnyConnectedUser:true"} AND ((*:* -(aclReadDeniedUsers:(admin#ametys_demo_users))) AND {!join from=id to=pageIds v="(*:* -(aclReadDeniedUsers:(admin#ametys_demo_users)))"}))))
      &sort=date-for-sorting desc
      

      The "context element" of search should be precised

        Attachments

          Activity

            People

            • Assignee:
              laurence Laurence Aumeunier
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: