# Filltering by a Case Worker:

**URL:** <https://support.primero.org/forum/t/filltering-by-a-case-worker/251>\
**Category:** CPIMS\
**Tags:** v1-6\
**Created:** [September 5, 2019, 6:15am UTC](https://support.primero.org/forum/t/filltering-by-a-case-worker/251 "2019-09-05T06:15:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sheth.otieno](https://support.primero.org/forum/user_avatar/support.primero.org/sheth.otieno/32/51_2.png) [@sheth.otieno](https://support.primero.org/forum/u/sheth.otieno)\
**Post date:** [September 5, 2019, 6:15am UTC](https://support.primero.org/forum/t/filltering-by-a-case-worker/251/1 "2019-09-05T06:15:53Z")

</div>

How can two different agencies using the same system be able to only see their own caseworkers rather than seeing the entire case workers from both the two agencies under filtering by a case worker?

---

<div class="post-metadata">

**Author:** ![jpanchalingam](https://support.primero.org/forum/user_avatar/support.primero.org/jpanchalingam/32/73_2.png) [@jpanchalingam](https://support.primero.org/forum/u/jpanchalingam)\
**Post date:** [September 9, 2019, 9:13am UTC](https://support.primero.org/forum/t/filltering-by-a-case-worker/251/2 "2019-09-09T09:13:26Z")

</div>

Dear Sheth,

We would first need to create an administrator for each agency within the system. Thereafter, they would only see case workers for their respective agencies. Have a look at the videos on user management that can be found here: [https://www.youtube.com/playlist?list=PLSnTMDfTYBLgTa0JjceVhMPR1UmZadNZj](https://www.youtube.com/playlist?list=PLSnTMDfTYBLgTa0JjceVhMPR1UmZadNZj) specifically, the videos on user groups and roles. You can test the permissions on a virtual machine. Please let me know if you need any support to set these roles up.

---

<div class="post-metadata">

**Author:** ![sheth.otieno](https://support.primero.org/forum/user_avatar/support.primero.org/sheth.otieno/32/51_2.png) [@sheth.otieno](https://support.primero.org/forum/u/sheth.otieno)\
**Post date:** [November 8, 2019, 7:04am UTC](https://support.primero.org/forum/t/filltering-by-a-case-worker/251/3 "2019-11-08T07:04:28Z")

</div>

Dear Jan,  
What happens in a situation where there is only one Administrator for the two organizations. Is there anyway to curb this?

---

<div class="post-metadata">

**Author:** ![irlawrence](https://support.primero.org/forum/user_avatar/support.primero.org/irlawrence/32/8_2.png) [@irlawrence](https://support.primero.org/forum/u/irlawrence)\
**Post date:** [November 9, 2019, 12:40am UTC](https://support.primero.org/forum/t/filltering-by-a-case-worker/251/4 "2019-11-09T00:40:37Z")

</div>

Maybe you can use **User Groups**?.  
These represent teams of users working together. For example, there may be a team of social workers in a particular refugee camp providing services to children. There may be another team responsible for the child’s best interest determination. A **manager** of a user group will have some level of access to all of the data managed by that group (you configure that), but not to the data managed by a different group.

Whatever you do you need to have two separate users with the ability to see different users (either groups or orgs)
