Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

immutable Access Need Group and Access Need #303

Merged
merged 1 commit into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions proposals/specification/access-needs.bs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ when determining whether to grant access.
An <dfn>Access Need Group</dfn> is a collection of [=Access Needs=]
used to communicate an access request to [=Social Agents=].

[=Access Need Groups=] are immutable. If an [=Access Need Group=] needs to change,
it should be replaced.

If an [=Access Need Group=] is replaced, history may be retained by linking
to it from the replacement [=Access Need Group=] via `interop:replaces`.

[=Access Need Groups=] are described using language-specific
[=Access Need Group Descriptions=].

Expand Down Expand Up @@ -70,6 +76,11 @@ used to communicate an access request to [=Social Agents=].
<td>[AccessNeed](#classAccessNeed)</td>
<td>Link to an [=Access Need=]</td>
</tr>
<tr>
<td>replaces</td>
<td>[AccessNeedGroup](#classAccessNeedGroup)</td>
<td>Previous [=Access Need Group=] replaced by current instance</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -97,6 +108,9 @@ path to request access to related types. Consequently,
Specific [=Data Instances=] may be requested by explicitly
associating them with the [=Access Need=].

[=Access Needs=] are immutable. If an [=Access Need=]
needs to change, it should be replaced.

[=Access Needs=] are described using language-specific
[=Access Need Descriptions=].

Expand Down
6 changes: 3 additions & 3 deletions proposals/specification/interop.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,10 @@ rdfs:label "Terms for application interoperability in Solid"@en .

:replaces
a rdf:Property ;
rdfs:comment "Links to a previous Access Authorization that has been superseded"@en ;
rdfs:comment "Links to a previous immutable resource that has been superseded"@en ;
rdfs:isDefinedBy <> ;
rdfs:domain :AccessAuthorization ;
rdfs:range :AccessAuthorization ;
rdfs:domain [ owl:unionOf ( :AccessAuthorization :AccessNeedGroup ) ] ;
rdfs:range [ owl:unionOf ( :AccessAuthorization :AccessNeedGroup) ] ;
rdfs:label "Replaces"@en .

:DataAuthorization
Expand Down