github.com/cs3org/reva/v2@v2.27.7/changelog/1.5.1_2021-01-19/fix-dav-namespace.md (about)

     1  Bugfix: Use the user in request for deciding the layout for non-home DAV requests
     2  
     3  For the incoming /dav/files/userID requests, we have different namespaces
     4  depending on whether the request is for the logged-in user's namespace or not.
     5  Since in the storage drivers, we specify the layout depending only on the user
     6  whose resources are to be accessed, this fails when a user wants to access
     7  another user's namespace when the storage provider depends on the logged in
     8  user's namespace. This PR fixes that.
     9  
    10  For example, consider the following case. The owncloud fs uses a layout
    11  {{substr 0 1 .Id.OpaqueId}}/{{.Id.OpaqueId}}. The user einstein sends a request
    12  to access a resource shared with him, say /dav/files/marie/abcd, which should be
    13  allowed. However, based on the way we applied the layout, there's no way in
    14  which this can be translated to /m/marie/.
    15  
    16  https://github.com/cs3org/reva/pull/1401