...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -i -u fedoraAdmin:secret3 -X PATCH -H "Content-Type: application/sparql-update" -d "PREFIX acl: <http://www.w3.org/ns/auth/acl#> INSERT { <<http://localhost:8080/fcrepo/rest/collection1> acl:accessControl <<http://localhost:8080/fcrepo/rest/acl1> . } WHERE {}" http://localhost:8080/fcrepo/rest/acl1 curl -i -u fedoraAdmin:secret3 -X PATCH -H "Content-Type: application/sparql-update" -d "PREFIX acl: <http://www.w3.org/ns/auth/acl#> INSERT { <<http://localhost:8080/fcrepo/rest/collection1/item1> acl:accessControl <<http://localhost:8080/fcrepo/rest/acl2> . } WHERE {}" http://localhost:8080/fcrepo/rest/acl2 curl -i -u fedoraAdmin:secret3 -X PATCH -H "Content-Type: application/sparql-update" -d "PREFIX acl: <http://www.w3.org/ns/auth/acl#> INSERT { <<http://localhost:8080/fcrepo/rest/collection1/subcollection1/item3> acl:accessControl <<http://localhost:8080/fcrepo/rest/acl3> . } WHERE {}" http://localhost:8080/fcrepo/rest/acl3 |
...