| TestPolicyIndex |
Testing of the PolicyIndex
Tests that modifications of policies as fedora objects with
FESLPOLICY datastreams are correctly propagated to the PolicyIndex
Tests use various API methods to modify objects and datastreams, and verify
that the policy is correctly enforced (or not)
Policies and objects, users and roles
test-policy-A.xml gives access to members of collection test:1000001
tests check for access to test:1000002
user is testuser/testuser, role is testing
test-policy-B.xml gives access to members of collection test:1000006
tests check for access to test:1000007
user is testuser/testuser, role is testing
Note: as policies are included in foxml as inline (X) datastreams, don't include
any processing instructions (eg XML header) in the XACML policy files. |