iDARMS Frontend (Back Office) — User Management Module Acceptance Tests¶
Test series: IDA-USR-01 to IDA-USR-10
Objective: Validate that users, roles, and partners can be managed and that audit logs render correctly.
Execution ownership¶
Recommended owners: System Super-Admin; Security/Access administrator
Prerequisites: A signed-in administrator, seeded users/roles/partners, and audit activity in the UAT environment.
Execution control
Use approved UAT data only. Mask personal, authentication, and payment information in screenshots and attachments.
Feature overview¶
The User Management & Access module covers:
- Users — list and add/edit.
- Access Roles — list and add/edit with a permission tree.
- Partners — list and add/edit.
- Audit Logs — Login History, Change History, Activity Log, and Deleted History.
Coverage summary¶
| Test ID | Feature | Scenario | Priority |
|---|---|---|---|
| IDA-USR-01 | Users | User list | Critical |
| IDA-USR-02 | Users | Add and edit user | Critical |
| IDA-USR-03 | Roles | Role list | High |
| IDA-USR-04 | Roles | Add and edit role | Critical |
| IDA-USR-05 | Partners | Partner list | High |
| IDA-USR-06 | Partners | Add and edit partner | High |
| IDA-USR-07 | Audit | Login history | High |
| IDA-USR-08 | Audit | Change history | High |
| IDA-USR-09 | Audit | Activity log | High |
| IDA-USR-10 | Audit | Deleted history | High |
Implementation observations requiring UAT confirmation¶
| Observation from implementation | Required validation |
|---|---|
| Row delete is disabled on the user, partner, and entity-admin lists. | Confirm the approved delete control. |
The role permission tree is built from /sys/moduletree and saved as a JSON string. |
Confirm the approved permission model. |
| The role list pagination total wording reuses "Users". | Confirm the approved labels. |
| Audit pages provide an Excel export only (reload/print/add commented out). | Confirm the approved audit export scope. |
| The partner add page copy still says "add a new user". | Confirm the approved copy. |
| Password is required only when adding; on edit it is optional ("leave blank to keep current password"). | Confirm the approved edit behaviour. |
IDA-USR-01 — User list¶
Feature overview¶
The All Users page at /usermanagement/allusers lists users with search filters and server pagination.
Preconditions
- A signed-in administrator with seeded users.
| Field | Value |
|---|---|
| Priority | Critical |
| Test action | Review the list and filters. |
| Expected result | Users render with identity, association, and contact details. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| List load | 1. Open /usermanagement/allusers. |
Users load from /user/userlist. |
PASS |
|
| Columns | 1. Inspect the table. | Identity, Association, Contact, Others, and Action render. | PASS |
|
| Filters | 1. Use full name, username, entity, role, and status filters. | The list filters. | PASS |
|
| Status tags | 1. Inspect the status column. | Active/Inactive/Blocked/Restricted render. | PASS |
|
| Pagination | 1. Change page size or jump pages. | Pagination works. | PASS |
|
| Open edit | 1. Open the edit action. | The user is navigated to /usermanagement/edit/{id}. |
PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-02 — Add and edit user¶
Feature overview¶
The Add/Edit User pages capture user information and accessibility settings.
Preconditions
- A signed-in administrator; entities and roles available.
| Field | Value |
|---|---|
| Priority | Critical |
| Test action | Create a user, then edit it. |
| Expected result | The user is created once and updates save. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Add user | 1. Open /usermanagement/adduser.2. Enter name, email, assigned entity, role, username, password, and status. |
Success notification appears and the list opens. | PASS |
POST /user/newuser. |
| Required fields | 1. Submit with missing required fields. | "Please fill up all the required fields" appears. | PASS |
|
| Password rules | 1. Use the password generator and enter a short password. | The strength indicator and minimum-length rule apply. | PASS |
|
| Edit user | 1. Open /usermanagement/edit/{id} and update (password optional). |
Changes save. | PASS |
PATCH /user/updateuser/{id}. |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-03 — Role list¶
Feature overview¶
The Roles page at /usermanagement/roles lists access roles with area, description, and status.
Preconditions
- A signed-in administrator with roles.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Review the role list and filters. |
| Expected result | Roles render with area and status. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| List load | 1. Open /usermanagement/roles. |
Roles load from /user/roles. |
PASS |
|
| Filters | 1. Use the Area and Role Name filters. | The list filters. | PASS |
|
| Open edit | 1. Open the edit action. | The user is navigated to /user-management/edit-role/{id}. |
PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-04 — Add and edit role¶
Feature overview¶
The Add/Edit Role pages capture area, role name, status, and a permission tree.
Preconditions
- A signed-in administrator; the module permission tree available.
| Field | Value |
|---|---|
| Priority | Critical |
| Test action | Create a role with permissions, then edit it. |
| Expected result | The role is created once with the selected permissions. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Add role | 1. Open /usermanagement/addrole.2. Enter area, name, status, and check permissions. |
Success notification appears and the list opens. | PASS |
POST /user/addrole. |
| Permissions tree | 1. Inspect the permission tree. | Sections/modules/submodules/menus render from /sys/moduletree. |
PASS |
|
| No permissions | 1. Save without permissions. | "Please select permissions" appears. | PASS |
|
| Edit role | 1. Open the edit page and update. | Changes save and preloaded permissions show. | PASS |
PATCH /user/editrole/{id}. |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-05 — Partner list¶
Feature overview¶
The All Partners page at /usermanagement/listpartner lists partner accounts.
Preconditions
- A signed-in administrator with partners.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Review the partner list. |
| Expected result | Partners render like users with association details. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| List load | 1. Open /usermanagement/listpartner. |
Partners load from /user/partners. |
PASS |
|
| Filters | 1. Use the user-style filters. | The list filters. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-06 — Add and edit partner¶
Feature overview¶
The Add/Edit Partner pages capture partner information, assigned blocks, partner type, and accessibility.
Preconditions
- A signed-in administrator; entities, blocks, and partner types available.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Create a partner, then edit it. |
| Expected result | The partner is created once with blocks and type. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| Add partner | 1. Open /usermanagement/addpartner.2. Enter name, email, entity, blocks, partner type, username, password, and status. |
Success notification appears and the list opens. | PASS |
POST /user/newpartner. |
| Required fields | 1. Submit with missing required fields. | "Please fill up all the required fields" appears. | PASS |
|
| Edit partner | 1. Open /usermanagement/editpartner/{id} and update. |
Changes save. | PASS |
PATCH /user/updatepartner/{id}. |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-07 — Login history¶
Feature overview¶
The Login History page at /usermanagement/loginhistory shows login/logout sessions with IP and browser details.
Preconditions
- A signed-in administrator with login activity.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Review the login history and filters. |
| Expected result | Sessions render with status and IP/browser details. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| List load | 1. Open /usermanagement/loginhistory. |
Sessions load from /user/loginhistory. |
PASS |
|
| Filters | 1. Use name, title, and IP filters. | The list filters. | PASS |
|
| Status | 1. Inspect the status column. | Logged Out/Logged In/Active render. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-08 — Change history¶
Feature overview¶
The Change History page at /usermanagement/changelog shows data changes with old/new data views.
Preconditions
- A signed-in administrator with change activity.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Review the change history. |
| Expected result | Change records render with action types and old/new data. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| List load | 1. Open /usermanagement/changelog. |
Changes load from /user/userchangelogs. |
PASS |
|
| Action types | 1. Inspect the action column. | Deleted/Updated/Restored tags render. | PASS |
|
| Old/New data | 1. Open the data modals. | JSON content renders (or is disabled when empty). | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-09 — Activity log¶
Feature overview¶
The Activity Log page at /usermanagement/activitylog shows user actions with details.
Preconditions
- A signed-in administrator with activity.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Review the activity log. |
| Expected result | Activity records render with action tags and details. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| List load | 1. Open /usermanagement/activitylog. |
Activity loads from /user/useractivity. |
PASS |
|
| Action tags | 1. Inspect the action column. | Add/Edit/Delete/Update actions render with colour-coded tags. | PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.
IDA-USR-10 — Deleted history¶
Feature overview¶
The Deleted History page at /usermanagement/deletedhistory shows deleted records.
Preconditions
- A signed-in administrator with deletion activity.
| Field | Value |
|---|---|
| Priority | High |
| Test action | Review the deleted history. |
| Expected result | Deleted records render with user, table, and time. |
| Execution result | PASS |
| Evidence reference | Insert link or reference |
| Defect reference | Insert ID or None |
Test scenarios
| Scenario | Test steps | Expected result | Pass/Fail | Remarks |
|---|---|---|---|---|
| List load | 1. Open /usermanagement/deletedhistory. |
Deleted records load from /user/deleteddata. |
PASS |
Tester notes
Record actual result, test data identifiers, device/browser/build, and any variance.