Skip to content

Commit 87ece6b

Browse files
committed
restore adding public grants to user grants
1 parent cf3ebc1 commit 87ece6b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/WAC.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ private function getUserGrants($resourceUri, $webId) {
186186

187187
// error_log("GET GRANTS for $webId");
188188

189-
$grants = array();
189+
$grants = $this->getPublicGrants($resourceUri);
190+
190191
// Then get grants that are valid for any authenticated agent;
191192
$authenticatedAgent = "http://www.w3.org/ns/auth/acl#AuthenticatedAgent";
192193
$matching = $graph->resourcesMatching('http://www.w3.org/ns/auth/acl#agentClass');

0 commit comments

Comments
 (0)