This topic explains how to view users and their permissions for a given
repository or project.

## View users and permissions for a repository

1. In the Google Cloud console, open Cloud Source Repositories.

   [Open Cloud Source Repositories](https://source.cloud.google.com/repos)
2. Click the name of the repository.

   A page opens, displaying the contents of the repository.
3. Click
   **Settings** .

   The **General settings** page opens.
4. Click **Permissions**.

   The **Permissions** page opens.

From this page, you can view the following information about the users and
accounts that can access the repository.

| User information | Description |
|---|---|
| Type | Indicates if the account is a user, group, or service account. |
| Principal | Displays the name of the user, group, or service account. |
| Role(s) | Displays the role or roles that the account has for the repository. |
| Inherited from | Indicates the resource from which the account inherited its permissions, if any. |

## View users and permissions for a project

1. In the Google Cloud console, open Cloud Source Repositories.

   [Open Cloud Source Repositories](https://source.cloud.google.com/repos)
2. Click the "All repositories" project selector and select the name of the
   project.

   A page opens, displaying the repositories that belong to the project.
3. Click
   **Settings** .

   The **General settings** page opens.
4. Click **Permissions**.

   The **Permissions** page opens.

From this page, you can view the following information about the users and
accounts that can access the repository.

| User information | Description |
|---|---|
| Type Member | Lists the member name and email. |
| Role | Displays the role or roles that the account has for the repository. |

## What's next

- [Grant users access](https://docs.cloud.google.com/source-repositories/docs/granting-users-access.md.txt) to your repositories and projects.
- Learn more about [Identity and Access Management permissions](https://docs.cloud.google.com/iam/docs/overview.md.txt).