fcrepo-exts / fcrepo-vagrant

Fedora 4 Vagrant Virtual Machine
26 stars 22 forks source link

Add configuration support for AuthZ and no-AuthZ #52

Closed awoods closed 8 years ago

awoods commented 8 years ago

Resolves: https://jira.duraspace.org/browse/FCREPO-2110

ruebot commented 8 years ago
vagrant@fedora4:~/fcrepo4-tests$ ./authz_tests.sh 
Create "cover" container
201 == 201 (Pass)
Make "cover" a pcdm:Object
204 == 204 (Pass)
Checking for pcdm:Object
Found type matching namespace pcdm::Object (Pass)
Create "files" inside "cover"
201 == 201 (Pass)
Create "my-acls" at root level
201 == 201 (Pass)
Create "acl" inside "my-acls"
201 == 201 (Pass)
Create "authorization" inside "acl"
201 == 201 (Pass)
Define "authorization"
204 == 204 (Pass)
Link "acl" to "cover"
204 == 204 (Pass)
verifyAuthZ
Anonymous can't access "cover"
401 == 401 (Pass)
fedoraAdmin can access "cover"
200 == 200 (Pass)
adminuser can access "cover"
200 == 200 (Pass)
testuser can't access "cover"
403 == 403 (Pass)
All tests completed
Remove any test objects created? (Y/n) Y
vagrant@fedora4:~/fcrepo4-tests$ 

:+1: