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

Fix refresh tree when not permitted to access part of path

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      300

      Description

      Setup:

      • Create a Nuxeo domain with JSF, and start Studio.
      • Create a folderish document MonDocument with a content view which retrieves:
        ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' AND (ecm:primaryType="MonDocument" OR ecm:primaryType="File")
        The purpose of this is to display all File or MonDocument that can be accessed by a user.

      In Nuxeo,

      • create a user "user"
      • create a workspace "ws"
      • in "ws", create a Folder "folder"
      • in "folder", create a File "fileinfolder"
      • block all inherited permissions on "ws"
      • give permission on "folder" to "user"
      • under Workspaces, create another workspace "wsuser"
      • in "wsuser", create a MonDocument "document"
      • verify that selecting MonDocument, both "document" and "fileinfolder" are listed
      • logoff Administrator*
      • login as "user"
      • goto to "wuser > document", and watch the tree on the left hand side
      • click onto "fileonfolder" in the "document" page, and watch the tree on the left hand side: it has not changed!
      • refresh the page (F5): still the same
      • refresh specifically the tree on the left hand side: the tree now starts as "folder"

      There are 2 issues to decipher here:

      • why is the tree not refreshed automatically?
      • how can a user get back to the upper part of the tree if the tree now starts at "folder"? (This second part could be another bug)

        Attachments

        1. 1 - Administrator view.png
          131 kB
          Patrick Abgrall
        2. 2 - user view top level.png
          114 kB
          Patrick Abgrall
        3. 3 - user view when in filefolder.png
          135 kB
          Patrick Abgrall
        4. 4 - user view after refresh.png
          130 kB
          Patrick Abgrall

          Activity

            People

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

              Dates

              • Created:
                Updated: