Skip to content

Commit e2895ab

Browse files
Require write on parent for DELETE
Adapt to solid-contrib/web-access-control-tests#42 Tested as part of pdsinterop/php-solid-server#52
1 parent 9394fc5 commit e2895ab

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/WAC.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,10 @@ public function getRequestedGrants($request) {
380380
array(
381381
"type" => "resource",
382382
"grants" => array('http://www.w3.org/ns/auth/acl#Write')
383+
),
384+
array(
385+
"type" => "parent",
386+
"grants" => array('http://www.w3.org/ns/auth/acl#Write')
383387
)
384388
);
385389
break;

0 commit comments

Comments
 (0)