User Role Definition - Documents
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- Document Management Definition
- User Role Definition
- User Role File Export
- User Role File Import
Scenario 1: 'User Role File Import' - Import Validations
Specific Setup:
- Create a new form type [FormX] in form "Document Management Definition". Note the form type ID number, for this example "27" is used
Steps
- Open the 'User Role Definition' form.
- In the User Role ID field
- Enter a name for a new role [RoleX]
- Click to the
- Click the "Document Management" Section
- Select "No" in the 'Is this user a Document Management Administrator?' field.
- Select "Specify Forms" in the 'Forms Allowed To View' field
- Select the document created in the set up [FormX]
- Click back to the "User Role Definition" section
- Populate all the required fields and any other desired fields
- Submit the form
- Validate the form files successfully
- Open form "User Role File Export"
- Click "Select Roles to Export"
- Select [RoleX]
- Click [Begin Export]
- Save the export file [ExportX] in a folder
- Close the form
- Open form "Document Management Definition"
- Click [Select Form]
- Select [FormX]
- Click [Delete]
- Click [Yes] to confirm the deletion
- Exit the form
- Open the 'User Role Definition' form.
- Select [RoleX]
- Click the "Document Management" Section
- Click "Specify Forms" in the 'Forms Allowed To View' field
- Validate [FormX] is no longer present in the list
- Click [Cancel]
- Exit the form
- Open form "User Role File Import"
- Click [Select Import File]
- Navigate to the location of [ExportX] saved in step 2
- Select the file
- Click [Begin Import]
- Validate the following warnings are present in the import scan results
- "WARNING: Role [RoleX] contains access to view documents of form type '27' that does not exist. Document form type '27' will be skipped.
- WARNING: Role [RoleX] has existing data that will be overwritten.
- Open the 'User Role Definition' form.
- Select [RoleX]
- Click the "Document Management" Section
- Click "Specify Forms" in the 'Forms Allowed To View' field
- Validate the forms list does not include [FormX], as expected
- Select [Clear All]
- Submit the form
- Validate the form files successfully
Scenario 2: User Role Definition - Validate 'Copy User Roles to Other System Codes' functionality
Specific Setup:
- Have a system defined with two root system codes. [SYSA] and [SYSB]
- Both system codes contain the same "Forms" and associated form "ID's" defined in form "Document Management Definition"
- In [SYSA], create a new form type [FormZ] in form "Document Management Definition". Note the form type ID number, for this example "28" is used
- In [SYSA], have or create a new user role [RoleZ]
- Have the 'Registry Settings' form, set the 'Copy User Roles to Other System Codes' registry setting to "Y".
- Log into root code [SYSA]
Steps
- Open the 'User Role Definition' form.
- Click [Select User Role]
- Select [RoleZ]
- In the 'Select Codes To Copy User Role To' field, select [SYSB]
- Populate any other required fields in that section
- Click the "Document Management" Section
- Select "No" in the 'Is this user a Document Management Administrator?' field.
- Select "Specify Forms" in the 'Forms Allowed To View' field
- Select the document created in the set up, [FormZ]
- Submit the form
- Validate an error is displayed "The following document form types to view do not exist in all selected system codes within 'System Codes To Copy User Role To' and will be unchecked. Document form type '28' does not exist in system code [SYSB]
- Click [OK]
- At the "Submission will be aborted" error message, Click [OK]
- Log out of root code [SYSA]
- Log into root code [SYSB]
- Open form "Document Management Definition"
- Click [Select Form]
- Click [Add New]
- Validate the "Form ID" field has been assigned the same form ID number assigned to [FormZ] in the set up, form ID "28"
- Populate the "Form Name" field
- Populate any other required fields
- Submit the form
- Log out of root code [SYSB]
- Log into root code [SYSA]
- Open the 'User Role Definition' form.
- Click [Select User Role]
- Select user role, [RoleZ]
- In the 'Select Codes To Copy User Role To' field, select [SYSB]
- Populate any other required fields in that section
- Click the "Document Management" Section
- Select "No" in the 'Is this user a Document Management Administrator?' field.
- Select "Specify Forms" in the 'Forms Allowed To View' field
- Select the document created in the set up, [FormZ]
- Submit the form
- Validate the form files successfully
- Return to the form
- Select [RoleZ]
- Click the "Document Management" Section
- Click "Specify Forms" in the 'Forms Allowed To View' field
- Click [Select Forms to View]
- Validate [FormZ] is selected, as expected
- Log out of root code [SYSA]
- Log into root code [SYSB]
- Open the 'User Role Definition' form.
- Click [Select User Role]
- Validate the "Select User Role" field contains [RoleZ]
- Select [RoleZ]
- Click the "Document Management" Section
- Select "Specify Forms" in the 'Forms Allowed To View' field
- Click [Select Forms to View]
- Validate [FormZ] is present and selected in the forms list, as expected
- Close the form
|
Topics
• NX
• User Role Definition
|