Skip to content

multiple clients having each own shared locks should be able to use the resource sending the lock token #34360

Open
@individual-it

Description

@individual-it

Steps to reproduce

  1. user1 share file to user2
  2. as user1 lock the shared file with an shared lock
  3. as user2 lock the shared file with an shared lock
  4. as user1 try to overwrite the file sending the own lock token

Expected behaviour

in case of multiple shared locks every client should be able to use the own token to change the resource.
RFC 4518: http://www.webdav.org/specs/rfc4918.html#exclusive-lock

However, there are times when the goal of a lock is not to exclude others from exercising an access right but rather to provide a mechanism for principals to indicate that they intend to exercise their access rights. Shared locks are provided for this case. A shared lock allows multiple principals to receive a lock. Hence any principal that has both access privileges and a valid lock can use the locked resource.

Actual behaviour

both users lock each other, no one can use the resource

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions