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

Fix search for users who don't belong to members

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 9.1
    • Fix Version/s: 8.10-HF20, 9.3
    • Component/s: Elasticsearch
    • Release Notes Summary:
      The search works for users who do not belong to the members group
    • Backlog priority:
      1,150
    • Sprint:
      nxcore 9.3.6, nxcore 9.3.10
    • Story Points:
      3

      Description

      If a user is not an admin nor part of "members", then search don't work (no results) even if the user has read permission on documents.
      Once you add that user to members, then search returns the documents for which the user has read permission

      How to reproduce:

      • create a group 'consumers'
      • create a user 'mika' and add it to consumers but not members
      • set read permission for consumers on the root document
      • log in with mika
      • you can browse the repository but search (jsf or webui) does not return any results
      • when adding permissions to the user or group locally, on a test workspace for instance, works correctly
      • when removing these local permissions, it still works correctly (as if problem has been fixed by local permissions addition and removal)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                9 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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