# Change or remove a user's role

## Overview

[Video: Change or remove a user's role](https://www.youtube.com/watch?v=WRgeTMlGugk)

This flow describes how to change the [role](https://docs.ohc.network/concepts/access-governance/access-control.md) of a user in an organization, a responsibility or a department. It also describes how to remove the user from there.

## Pre-requisites

* The user is already linked there. See [Assign a role to a user](https://docs.ohc.network/flows/access-governance/access-control/assign-role-to-user.md).
* If you change a role in an organization, the organization is on the **Governance** tab of your dashboard.
* If you change a role in a responsibility, you belong to that responsibility.
* If you change a role in a department, you belong to a department of that facility.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Manage Users in an Organization | Lets you change or remove a user's role in an organization or a responsibility. For an organization, hold it in that organization or in a parent organization. For a responsibility, hold it in that responsibility. By default, Administrator holds it in an organization. In a responsibility, Admin holds it by default. |
| Can Manage Users in a Facility Organization | Lets you change or remove a user's role in a department. Care shows **Edit** on the cards when you hold it in any department of the facility. By default, Facility Admin and Administrator hold it. |
| Can List Users in an Organizations | Lets you open the Users list of an organization or a responsibility. For an organization, hold it in the organization or in a parent organization. For a responsibility, hold it in the responsibility or in a responsibility that manages it. By default, Volunteer, Doctor, Nurse, Staff and Administrator hold it in an organization. In a responsibility, Admin and Manager hold it by default. |
| Can List Users in a Facility Organizations | Lets you open the Users list of a department. Hold it in any department of the facility. By default, Facility Admin, Administrator, Staff, Doctor and Nurse hold it. |

Note: If you reach a responsibility through a responsibility that manages it, Care does not show **Change role**. To change roles there, you need a role in that responsibility that holds Can Manage Users in an Organization. By default, this is Admin.

## Steps

### 1. Find the user

* For an organization, open your dashboard and select **Governance**. Select the card of the organization. Select the **Users** tab.
* For a responsibility, open your dashboard and select **Responsibilities**. Select the card of the responsibility. Care opens its Users list.
* For a department, open the facility and select **Settings**. Select **Departments**, and open the department. Select the **Users** tab.

Note: Care shows the row of tabs only when more than one tab is available to you.

In an organization or a responsibility, find the row of the user in the Users table.

In a department, find the card of the user.

![Step 1, Find the user: the Care screen, with the control for this step outlined](/assets/images/change-or-remove-user-role-1-36b98b636ea08fa9ee7499444a49c79b.webp)

### 2. Open the Edit User Role form

In an organization or a responsibility, select **Change role** in the row of the user.

In a department, select **Edit** next to the role on the card of the user.

Care opens the **Edit User Role** form.

In an organization or a responsibility, the form shows the name, **Username**, **Current Role** and **Last Login** of the user.

Note: In an organization or a responsibility, the form also shows **Edit User** when the row is your own account.

Note: In an organization or a responsibility, Care checks the permissions of the role. You must hold all of them there. When you change a role, Care checks the current role and the new role.

![Step 2, Open the Edit User Role form: the Care screen, with the control for this step outlined](/assets/images/change-or-remove-user-role-2-c3d99fc16f744bedc78242874d954cee.webp)

### 3. Change the role

In **Select New Role**, choose a different role. The list shows only the roles for that place.

Select **Update Role**.

Note: **Update Role** stays disabled until you choose a role that is different from the current role.

Note: Care does not let you change the role of the last Facility Admin in the root department of a facility.

![Step 3, Change the role: the Care screen, with the control for this step outlined](/assets/images/change-or-remove-user-role-6-214919f06041b0ac82a98869d6ac93ea.webp)

### 4. Remove the user

To remove the user, select **Remove User** in the same form.

In an organization or a responsibility, Care opens the **Remove User from Organization** dialog. The dialog says that you cannot undo this action.

Select **Remove** to confirm.

Note: Care does not let you remove the last user from the root department of a facility.

![Step 4, Remove the user: the Care screen, with the control for this step outlined](/assets/images/change-or-remove-user-role-3-7d14f3dfe1c52830de553cf7ca3e44e8.webp)

## Expected Outcome

* In an organization or a responsibility, Care shows "User role updated successfully". The row of the user shows the new role in the role column.
* In a department, the card of the user shows the new role.
* If you removed the user from an organization or a responsibility, Care shows "User removed from organization successfully". The Users list no longer shows the user.

## Related

Concepts:

* [Roles and Permission](https://docs.ohc.network/concepts/access-governance/access-control.md)
* [Organisation](https://docs.ohc.network/concepts/access-governance/organization.md)
* [Responsibility](https://docs.ohc.network/concepts/access-governance/responsibility.md)
* [Facility Organization](https://docs.ohc.network/concepts/access-governance/facility-organization.md)
* [User](https://docs.ohc.network/concepts/access-governance/user.md)

Flows:

* [Assign a role to a user](https://docs.ohc.network/flows/access-governance/access-control/assign-role-to-user.md)
* [Search for a user](https://docs.ohc.network/flows/access-governance/user/search-for-user.md)
