Skip to content

Commit

Permalink
Require write on parent for DELETE
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Nov 24, 2021
1 parent 9394fc5 commit e2895ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/WAC.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ public function getRequestedGrants($request) {
array(
"type" => "resource",
"grants" => array('http://www.w3.org/ns/auth/acl#Write')
),
array(
"type" => "parent",
"grants" => array('http://www.w3.org/ns/auth/acl#Write')
)
);
break;
Expand Down

0 comments on commit e2895ab

Please sign in to comment.