Skip to content

Commit cd5555d

Browse files
committed
SPARQL update authorization
1 parent a917c56 commit cd5555d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

platform/namespace-ontology.trig.template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,25 @@
7373

7474
}
7575

76+
# SPARQL update authorization
77+
78+
<${admin_origin}/acl/authorizations/sparql-update/>
79+
{
80+
81+
<${admin_origin}/acl/authorizations/sparql-update/> a dh:Item ;
82+
sioc:has_container <${admin_origin}/acl/authorizations/> ;
83+
dct:title "SPARQL update access" ;
84+
foaf:primaryTopic <${admin_origin}/acl/authorizations/sparql-update/#this> .
85+
86+
<${admin_origin}/acl/authorizations/sparql-update/#this> a acl:Authorization ;
87+
rdfs:label "SPARQL update access" ;
88+
rdfs:comment "Allows only authenticated access" ;
89+
acl:accessTo <${end_user_origin}/update> ;
90+
acl:mode acl:Append ; # allow updates over POST
91+
acl:agentClass acl:AuthenticatedAgent .
92+
93+
}
94+
7695
# write/append authorization
7796

7897
<${admin_origin}/acl/authorizations/write-append/>

0 commit comments

Comments
 (0)