2020-10-19 17:09:06 -04:00
---
2020-12-01 13:09:42 -05:00
stage: Enablement
group: Distribution
2020-11-26 01:09:20 -05:00
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-10-19 17:09:06 -04:00
---
2019-05-05 11:21:25 -04:00
2021-01-28 07:09:54 -05:00
# Auditor users **(PREMIUM SELF)**
2019-05-05 11:21:25 -04:00
Auditor users are given read-only access to all projects, groups, and other
resources on the GitLab instance.
## Overview
2020-10-19 17:09:06 -04:00
Auditor users are able to have both full access to their own resources
(including projects, groups, and snippets) and read-only access to _all_ other
resources, except the [Admin Area ](../user/admin_area/index.md ). These user
accounts are regular users who can be added to projects, create personal
snippets, and create milestones on their groups, while also having read-only
access to all projects on the server to which they haven't been explicitly
[given access ](../user/permissions.md ).
2019-05-05 11:21:25 -04:00
2021-02-15 19:09:01 -05:00
The `Auditor` access level is _not_ a read-only version of the `Admin` access level. Auditor users
2020-10-19 17:09:06 -04:00
can't access the project or group settings pages, or the Admin Area.
2019-05-05 11:21:25 -04:00
2020-10-19 17:09:06 -04:00
Assuming you have signed in as an Auditor user:
2019-05-05 11:21:25 -04:00
- For a project the Auditor is not member of, the Auditor should have
2020-10-19 17:09:06 -04:00
read-only access. If the project is public or internal, they have the same
access as users that aren't members of that project or group.
2019-05-05 11:21:25 -04:00
- For a project the Auditor owns, the Auditor should have full access to
everything.
2020-10-19 17:09:06 -04:00
- For a project to which the Auditor is added as a member, the Auditor should
have the same access as their given [permissions ](../user/permissions.md ).
For example, if they were added as a Developer, they can push commits or
comment on issues.
2021-02-15 19:09:01 -05:00
- The Auditor can't view the Admin Area, or perform any administration actions.
2019-05-05 11:21:25 -04:00
For more information about what an Auditor can or can't do, see the
[Permissions and restrictions of an Auditor user ](#permissions-and-restrictions-of-an-auditor-user )
section.
## Use cases
2020-10-19 17:09:06 -04:00
The following use cases describe some situations where Auditor users could be
helpful:
- Your compliance department wants to run tests against the entire GitLab base
to ensure users are complying with password, credit card, and other sensitive
data policies. With Auditor users, this can be achieved very without having
2021-02-15 19:09:01 -05:00
to give them user administration rights or using the API to add them to all projects.
2020-10-19 17:09:06 -04:00
- If particular users need visibility or access to most of all projects in
your GitLab instance, instead of manually adding the user to all projects,
you can create an Auditor user and then share the credentials with those users
to which you want to grant access.
2019-05-05 11:21:25 -04:00
2021-06-18 11:10:16 -04:00
## Add an Auditor user
2019-05-05 11:21:25 -04:00
2021-06-18 11:10:16 -04:00
To create an Auditor user:
2020-10-19 17:09:06 -04:00
2021-08-25 20:09:31 -04:00
1. On the top bar, select **Menu > Admin** .
2021-06-18 11:10:16 -04:00
1. On the left sidebar, select **Overview > Users** .
1. Create a new user or edit an existing one, and in the **Access** section
select Auditor.
1. Select **Create user** or **Save changes** if you created a new user or
edited an existing one respectively.
2019-05-05 11:21:25 -04:00
2020-10-19 17:09:06 -04:00
To revoke Auditor permissions from a user, make them a regular user by
following the previous steps.
2019-05-05 11:21:25 -04:00
2021-02-01 13:09:17 -05:00
Additionally users can be set as an Auditor using [SAML groups ](../integration/saml.md#auditor-groups ).
2019-05-05 11:21:25 -04:00
## Permissions and restrictions of an Auditor user
An Auditor user should be able to access all projects and groups of a GitLab
2020-10-19 17:09:06 -04:00
instance, with the following permissions and restrictions:
2019-05-05 11:21:25 -04:00
- Has read-only access to the API
- Can access projects that are:
- Private
- Public
- Internal
- Can read all files in a repository
2020-10-19 17:09:06 -04:00
- Can read issues and MRs
2019-05-05 11:21:25 -04:00
- Can read project snippets
2021-02-15 19:09:01 -05:00
- Cannot be Administrator and Auditor at the same time
2020-01-08 19:07:40 -05:00
- Cannot access the Admin Area
2020-10-19 17:09:06 -04:00
- In a group or project they're not a member of:
2019-05-05 11:21:25 -04:00
- Cannot access project settings
- Cannot access group settings
- Cannot commit to repository
2020-10-19 17:09:06 -04:00
- Cannot create or comment on issues and MRs
- Cannot create or modify files from the Web UI
2019-05-05 11:21:25 -04:00
- Cannot merge a merge request
- Cannot create project snippets