Skip to content

Latest commit

 

History

History
79 lines (67 loc) · 3.12 KB

t002.md

File metadata and controls

79 lines (67 loc) · 3.12 KB

T002 authorization with user roles

Abstract:
This documents contains the definitions for tests that target the feature 'authorization with user roles'.

TODO

  • elaborate on entries for technical and business administrator
  • elaborate on the fact that for a t-admin and a b-admin the only difference is that b-admins can't change the accounts of t-admins.

T002-01: study level - main menu entries by role

description:
This test focuses on checking that the user has access to the functions of its user role.

prerequisite: The users used for the tests are of user type 'user' (not business admin or technical admin)

workflow:
1. open the login page 2. enter the username and password for the test user 3. click the login button 4. switch to the Teststudy 5. check that the header shows the correct user role (check A) 6. check that the main menu contains the correct entries. (check B)

testdata:

Data Manager Study Director Data Specialist DataEntryPerson Monitor
Home x x x x x
Subject Matrix x x x x x
Notes & Discrepancies x x x x x
Study Audit Log x x
Add Subject x x
SDV

expected results:
All the required menu entries are accessible and all available menu entries are intended to be accessible for the appropriate user role (the user does not have access to menu entries he shouldn't have)

T002-02: study level - tasks menu entries by role

description: This test focuses on checking that the user has access to the functions of its user role.

workflow: 1. open the login page 2. enter the username and password for the test user 3. click the login button 4. switch to the Teststudy 5. check that the header shows the correct user role (check A) 6. check that the tasks menu contains the correct entries. (check B)

testdata:

Data Manager Study Director Data Specialist DataEntryPerson Monitor
Submit Data
Subject Matrix x x x x
Add Subject x x x x
Notes & Discrepancies x x x x
Schedule Event x x x x
View Events x x x x
Import Data x x x x
Monitor and Manage Data
Source Data Verification x x x
Study Audit Log x x x
Rules x x x
Groups x x x
CRFs x x x
Extract Data
View Datasets x x x x
Create Dataset x x x x
Study Setup
View Study x x
Build Study x x
Users x x
Other
Update Profile x x x x x
Log Out x x x x x

expected results: all the required menu entries are accessible and all available menu entries are intended to be accessible for the appropriate user role (the user does not have access to menu entries he shouldn't have)