Skip to content

Quota check for shared storage doesn't kick in for received shares in new DAV endpoint #28159

@PVince81

Description

@PVince81

Steps

  1. Create two users "user1" and "user2"
  2. Set quota of "user1" to unlimited
  3. Set quota of "user2" to 2 MB
  4. Login as "user2"
  5. Create a folder "shared_by_user2"
  6. Share it with "user1"
  7. Login as "user1"
  8. Start cadaver using the new dav endpoint: "remote.php/dav/files/user1"
  9. Upload a 10+ MB file into the root
  10. Upload a 10+ MB file into the received folder "shared_by_user2"

Expected result

Upload works into the root.
Upload fails into the received folder due to quota.

Actual result

Upload works in both cases. The quota check doesn't kick in for mounted shared folders.

Versions

Observed in 10.0.2 using the desktop client 2.3.2.
Reported as regression here #14600 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions