Skip to content

Restrict “All Wards” filter based on user role in Caseworker Journey #164

@King-Riam

Description

@King-Riam

In the Caseworker Journey tab, the “All Wards” filter currently displays wards beyond the scope of the logged-in user.

The list of wards should be limited based on the user’s assigned role and location (e.g., province or district).

Expected Behavior:

Provincial users should only see wards within their province
District users should only see wards within their district
Users should not have visibility of wards outside their assigned scope

Current Behavior:
The “All Wards” filter displays wards outside the user’s assigned role

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions