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

Drive: client might receive a 403 when trying to get a FileSystemItem for a non accessible doc

    XMLWordPrintable

    Details

    • Sprint:
      Drive Next
    • Story Points:
      1

      Description

      This happens when calling RemoteFileSystemClient.get_fs_item in RemoteWatcher._update_remote_states (code added for NXDRIVE-387):

      # Verify the file is really deleted
      if self._client.get_fs_item(delete_pair.remote_ref) is not None:
          continue
      

      If the user doesn't have acces to the document the returned FileSystemItem should simply be None, instead of a 403 HTTPError being thrown leading to invalid credentials and offline mode.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: