cs3org / wopiserver

A vendor-neutral application gateway compatible with the WOPI specifications.
Apache License 2.0
52 stars 27 forks source link

Support storages that do not implement the CS3API Lock interface #125

Closed glpatcern closed 11 months ago

glpatcern commented 1 year ago

This is for now food for thought.

In Reva, we are able to support storage drivers on top of WebDAV-based systems, which do not necessarily implement the full CS3API storage provider interface. In particular, the Lock API may be missing or not working.

We may want to detect that (from the response of a SetLock call) and implement an alternative based on xattrs (SetArbitraryMetadata). Surely not race-proof but it might be better than completely bailing out.

glpatcern commented 1 year ago

PoC implementation was done to target ScienceMesh apps for OC and NC, as the Reva storage provider for nextcloud does not implement to date the Lock API (see https://github.com/sciencemesh/nc-sciencemesh/issues/53)