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

Fix 404 on document with no permission to parent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: WEBUI-1.0.0
    • Fix Version/s: WEBUI-1.0.1, 9.2
    • Component/s: Web UI

      Description

      Reproduce

      • Create a folder with a document inside
      • Create a user with no read permissions to either
      • Give read permissions to that user on the document inside (no the parent)
      • Login with the user
      • Search for the document
        => It will appear on the results
      • Click on the document
        => It will show a 404 on the layouts

      Note
      Error seems to be when creating the docPath (for breadcrumb ?) as user doesn't have permission for the parent.

      this.docPath = entries[entries.length - 2].path;

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 hour
                1h