-
Type:
Story
-
Resolution: Unresolved
-
Priority:
High
-
Affects Version/s: None
-
None
-
STOP TB Sprint 6
Background
While implementing Role Based User Access (STOP-138), it was identified that the Counselling role's access, per the PRD/BRD, is expected to cover four distinct modules:
- Counselling
- Contact Tracing
- TB Treatment Follow-up
- TPT (TB Preventive Treatment)
However, in the current Release 2.0 implementation, these four are not separated into individual cards/modules — they exist together rather than as distinct, independently accessible sections.
Role-based access mapping (View/Add/Edit/Update privileges per module, as defined in STOP-138) cannot be correctly applied to the Counselling role until each of these four areas is broken out into its own card/module with its own navigation entry point.
Problem
Per STOP-138's acceptance criteria, the Counsellor role must have distinct, independently governed access to:
- Counselling Module (View, Add, Edit, Update)
- Contact Tracing Module (View, Add, Edit, Update)
- TB Treatment Follow-up Module (View, Add, Edit, Update)
- TPT Module (View, Add, Edit, Update)
Since these currently sit together rather than as separate cards, there's no clean way to gate access at the module level for the Counsellor role (or for any other role that may need partial access to only some of these four in future).
What's needed
- Break out Counselling, Contact Tracing, TB Treatment Follow-up, and TPT into four separate cards/modules in the application UI (each with its own entry point from Home / relevant landing screen), consistent with how other role-specific modules (Household, Beneficiaries, Referral, etc.) are structured.
- Ensure each module can be independently permissioned (View / Add / Edit / Update) so that STOP-138's role-based access mapping can be applied cleanly per module.
- Confirm with Ashutosh Gupta on his prior work on the Counsellor role/module structure before starting, to avoid duplicate effort and ensure continuity with what's already built.
Acceptance Criteria
AC-01: Given a user with the Counsellor role opens the Home tab, When the screen loads, Then Counselling, Contact Tracing, TB Treatment Follow-up, and TPT are each displayed as separate, independently navigable cards/modules (not combined into a single card).
AC-02: Given the four modules are separated, When role-based access privileges (View/Add/Edit/Update) are configured for the Counsellor role, Then each of the four modules can be independently granted or restricted without affecting the others.
AC-03: Given this separation is complete, When STOP-138 (Role Based User Access) is implemented, Then the Counsellor role's module-level access can be mapped and tested against all four modules independently.
Dependency / Linked issue
Blocks: STOP-138 (Role based user access) — this ticket must be completed (or the module separation confirmed as already in place) before Counsellor-role access mapping in STOP-138 can be fully implemented and tested.
Reference
Raised based on discussion in STOP-138 comments (Ankit Singh Bisht, 21 Aug 2026) and confirmed by Rupesh Singh to raise as a separate ticket.