File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,11 +152,11 @@ private function getUserGrants($resourcePath, $webId) {
152152 $ grants = $ this ->getPublicGrants ($ resourcePath );
153153
154154 // Then get grants that are valid for any authenticated agent;
155- $ foafAgent = "http://xmlns.com/foaf/0.1/AuthenticatedAgent " ;
155+ $ authenticatedAgent = "http://www.w3.org/ns/auth/aclAuthenticatedAgent " ;
156156 $ matching = $ graph ->resourcesMatching ('http://www.w3.org/ns/auth/acl#agentClass ' );
157157 foreach ($ matching as $ match ) {
158158 $ agentClass = $ match ->get ("<http://www.w3.org/ns/auth/acl#agentClass> " );
159- if ($ agentClass == $ foafAgent ) {
159+ if ($ agentClass == $ authenticatedAgent ) {
160160 $ accessTo = $ match ->get ("<http://www.w3.org/ns/auth/acl#accessTo> " );
161161 $ default = $ match ->get ("<http://www.w3.org/ns/auth/acl#default> " );
162162 $ modes = $ match ->all ("<http://www.w3.org/ns/auth/acl#mode> " );
You can’t perform that action at this time.
0 commit comments