Skip to content

Commit b3ddd34

Browse files
committed
Add Note about IRIs and Blank Nodes and update example
1 parent 888ac78 commit b3ddd34

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

index.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,12 @@ <h3 property="schema:name">ACL Resource Representation</h3>
613613
<p about="" id="server-get-acl-without-representation" rel="spec:requirement" resource="#server-get-acl-without-representation"><span property="spec:statement">When an authorized HTTP <code>GET</code> or <code>HEAD</code> request targets an ACL resource without an existing representation, the <span rel="spec:requirementSubject" resource="spec:Server">server</span> <span rel="spec:requirementLevel" resource="spec:MUST">MUST</span> respond with the <code>404</code> status code as per [<cite><a class="bibref" href="#bib-rfc9110">RFC9110</a></cite>].</span></p>
614614
<p about="" id="server-root-container-acl" rel="spec:requirement" resource="#server-root-container-acl"><span property="spec:statement">When an authorized HTTP <code>GET</code> or <code>HEAD</code> request targets <a href="#root-container">root container</a>’s ACL resource, the <span rel="spec:requirementSubject" resource="spec:Server">server</span> <span rel="spec:requirementLevel" resource="spec:MUST">MUST</span> respond with a representation.</span></p>
615615
<p about="" id="server-root-container-acl-authorization-control" rel="spec:requirement" resource="#server-root-container-acl-authorization-control"><span property="spec:statement">The ACL resource of the root container <span rel="spec:requirementSubject" resource="spec:Server"></span><span rel="spec:requirementLevel" resource="spec:MUST">MUST</span> include an Authorization allowing the <code>acl:Control</code> access privilege (<cite><a href="#acl-mode-control" rel="rdfs:seeAlso"><code>acl:Control</code></a></cite> access mode).</span></p>
616+
<div class="note" id="iri-blank-node" inlist="" rel="schema:hasPart" resource="#iri-blank-node">
617+
<h4 property="schema:name"><span>Note</span>: IRIs and Blank Nodes</h4>
618+
<div datatype="rdf:HTML" property="schema:description">
619+
<p>Implementations are encouraged to use named resources (IRIs) rather than blank nodes when describing Authorizations and their properties, as blank nodes may not be referenceable by operations that require explicit node identification.</p>
620+
</div>
621+
</div>
616622
<p class="advisement">Source: <a href="https://github.com/solid/web-access-control-spec/issues/45" rel="cito:citesAsSourceDocument">issues/45</a></p>
617623
</div>
618624
</section>
@@ -946,9 +952,9 @@ <h4 property="schema:name">Authorization Matching</h4>
946952
<code> acl:accessTo $resource ;</code>
947953
<code> acl:agent $agent ;</code>
948954
<code> acl:mode $mode ;</code>
949-
<code> acl:condition</code>
950-
<code> [ a acl:ClientCondition ; acl:client $client ] ,</code>
951-
<code> [ a acl:IssuerCondition ; acl:issuer $issuer ] .</code>
955+
<code> acl:condition ?clientCondition, ?issuerCondition .</code>
956+
<code> ?clientCondition a acl:ClientCondition ; acl:client $client .</code>
957+
<code> ?issuerCondition a acl:IssuerCondition ; acl:issuer $issuer .</code>
952958
<code> }</code>
953959
<code>}</code></pre>
954960
<p><code>ASK</code> query matching an Authorization given inputs <var>resource</var>, <var>agent</var>, <var>mode</var>, <var>client</var> and <var>issuer</var>.</p>
@@ -1232,6 +1238,11 @@ <h2 property="schema:name">Changelog</h2>
12321238
<td><a href="#consider-condition-control" rel="spec:changeSubject">#consider-condition-control</a></td>
12331239
<td property="spec:statement">Add security consideration advisement for <a href="#consider-condition-control">preserving Authorization integrity with conditions</a>.</td>
12341240
</tr>
1241+
<tr about="#a4c93556-7b58-463d-99cd-8848fbb4e0e1" typeof="spec:Change">
1242+
<td><a href="https://www.w3.org/policies/process/#class-2" rel="spec:changeClass">2</a></td>
1243+
<td><a href="#iri-blank-node" rel="spec:changeSubject">#iri-blank-node</a></td>
1244+
<td property="spec:statement">Add note <a href="#iri-blank-node">encouraging use of IRIs over blank nodes</a> for describing Authorizations.</td>
1245+
</tr>
12351246
</tbody>
12361247
<tfoot>
12371248
<tr>

0 commit comments

Comments
 (0)