feat: add partial update support (#331)

Co-authored-by: Henrique Dias <[email protected]>
This commit is contained in:
Janlay Wu
2026-06-27 10:00:57 +02:00
committed by GitHub
co-authored by Henrique Dias
parent 71fce1a29e
commit 3ddd9182f9
7 changed files with 958 additions and 5 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ func (p Permissions) Allowed(r *request, fileExists func(string) bool) bool {
return p.Create
case "PROPPATCH":
return p.Update
case "PUT":
case "PUT", "PATCH":
if fileExists(r.path) {
return p.Update
} else {