Skip to content

Draft: Added local tests and acl data tenacy tests for MS1

Brandon Harper requested to merge bharp/acl_tests into roakes/nsync-hpop

Created ACL tests for MS1 Test Suite: Local Permissions

  • Test 1: User data tenancy control (Orthanc)
    • Admin creates policy allowing upload of image to Sonador
    • Test user uploads data to the server
    • Admin creates a user grant on Orthanc giving the test user permission to access the uploaded study
    • Verify that the user has authorization
  • Test 2: Inverse of Original test
    • User uploads image
    • Revoke their permissions with user model API, verifiy they aren't authorized
  • Test 3: Test User grant to second user
    • User uploads image to Sonador
    • Utilize Sonador user/groups API to create a new limited user.
    • Create a grant providing access to the data.
    • Perform a retrieve operation using the limited user and ensure access to the data.
    • Remove the grant, perform a retrieve operation and ensure that access to the data is denied
Edited by Brandon Harper

Merge request reports

Loading