...
Then run this to attempt to update foo
:
Code Block | ||
---|---|---|
| ||
$ curl -i -X PATCH http://localhost:8080/fcrepo/rest/foo -u user1:password1 \
-H "Content-Type: application/sparql-update" \
--data-binary @foo.sparql |
...
Run this command to update the ACL authorization:
Code Block | ||
---|---|---|
| ||
$ curl -i -X PATCH http://localhost:8080/fcrepo/rest/acl/authz -u admin1:password3 \
-H "Content-Type: application/sparql-update" \
--data-binary @authz.sparql |
...
Now you should be able to re-run the earlier command to update the foo
resource as user1
:
Code Block | ||
---|---|---|
| ||
$ curl -i -X PATCH http://localhost:8080/fcrepo/rest/foo -u user1:password1 \
-H "Content-Type: application/sparql-update" \
--data-binary @foo.sparql |
...