...
Platform | Tested by | Success? RC-2 | Notes |
---|---|---|---|
Mac | Danny Bernstein | ||
Fedora Linux 27 | |||
Simple read-write
Code Block |
---|
# create a resources with admin curl -i -u fedoraAdmin:fedoraAdmin -X PUT http://localhost:8080/rest/test-read-write curl -i -u fedoraAdmin:fedoraAdmin -X PUT http://localhost:8080/rest/test-read-write/child # put read-only acl on parent echo " @prefix acl: <http://www.w3.org/ns/auth/acl#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . <#restricted> a acl:Authorization ; acl:agent 'testuser' ; acl:mode acl:Read, acl:Write; acl:default <http://localhost:8080/rest/test-read-write> ; acl:accessTo <http://localhost:8080/rest/test-read-write> . " | curl -i -u fedoraAdmin:fedoraAdmin -d @- -X PUT -H "Content-Type: text/turtle" http://localhost:8080/rest/test-read-write/fcr:acl # Verify expected access privileges on target and child - ie read and write curl -i -u testuser:testpass -X GET http://localhost:8080/rest/test-read-write/child # expect 200 curl -i -u testuser:testpass -X POST http://localhost:8080/rest/test-read-write/child # expect 201 |
...
Platform | Tested by | Success? RC-2 | Notes |
---|---|---|---|
Mac | |||
Fedora Linux 27 | |||
External Content
Create and verify all three modes of external content handling: proxy, redirect, copy
...