cs3org/cs3apis

storage: locking support

Closed this issue · 3 comments

Currently there is no locking support. The CS3 apis should allow implementing locking functionality for eg webdav or s3.

Hm... I am not totally convinced by this (maybe we should explain the rationale behind some of the APIs better in the documentation). Could you please explain the use-case?

WebDAV spec: https://tools.ietf.org/html/rfc4918#section-6 used by eg

Now, for network filesystems locking is non trivial:

I am happy to discuss if we want to store locks in a different place than the storage. However, I think just like search, tagging, comments, trash and versions ... locking might be implemented by a storage provider.

The cernsbox wopiserver uses lock files to implement locks on top of cs3. A dedicated RPC should make this clearer.