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

Fix Web UI Browser when logged in user does not have READ granted on '/'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: WEBUI-0.10.0
    • Fix Version/s: WEBUI-1.0.0
    • Component/s: Web UI

      Description

      Step to reproduce:

      • Create a user that has no READ granted for root '/' ( you can still grant permissions on a deeper part of the hierarchy)
      • Login on Web UI with this user
      • Open the navigation tree from the drawer menu
      • See that you have error in the console about
        elements.html:41974 Resource request failed: Privilege 'Read' is not granted to 'jdoe'
        /nuxeo/ui/#!/home:1 Uncaught (in promise) Object {entity-type: "exception", code: "org.nuxeo.ecm.core.api.DocumentSecurityException", status: 403, message: "Privilege 'Read' is not granted to 'jdoe'"}
        
      • Despite the error, you have the Root tree node available and clickable
      • click on it
      • see that the Web UI goes unstable

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: