Skip to main content

Users

By default (in database-managed user mode) users need to be created by the administrator. To allow someone to create an account on their own, you need to enable Allow Self-Registration, which is unchecked by default.

alt text

alt text

The library project is the default and belongs to the administrator

To use authentication via SSO such as Okta, Keycloak, and others, no users can exist in the database. In this case, you don't create user accounts in Harbor. Self-registration (as shown above), user deletion, and password reset will also not be possible.

If any user has been created, delete it so the options below appear.

alt text

Consult the documentation for more information.

Managing Users​

  • Images must be in some project.
    • In projects we apply quotas and rules, such as maximum image size, maximum number of tags, etc.
  • Users exist independently of projects, just like any registration.
    • They can be invited to participate in a project created by another user or create their own project to manage their images.
    • The project owner or maintainer user can define roles for other project member users.
    • It is not possible to granularize permissions. Permissions are according to roles.
    • A project can be public or private.

A project member can have the following roles: Limited Guest, Guest, Developer, Maintainer, and Project Admin.

ActionLimited GuestGuestDeveloperMaintainerProject Admin
View project settingsβœ“βœ“βœ“βœ“βœ“
Edit project settingsβœ“
View project members listβœ“βœ“βœ“βœ“
Create/edit/delete project membersβœ“
View project logs listβœ“βœ“βœ“βœ“
View project replications listβœ“βœ“
View project replication jobs listβœ“
View project tags listβœ“βœ“
Create/edit/delete project labelsβœ“βœ“
View repositories listβœ“βœ“βœ“βœ“βœ“
Create repositoriesβœ“βœ“βœ“
Edit/delete repositoriesβœ“βœ“
View images listβœ“βœ“βœ“βœ“βœ“
Retag imageβœ“βœ“βœ“βœ“
Pull imageβœ“βœ“βœ“βœ“βœ“
Push imageβœ“βœ“βœ“
Scan/delete imageβœ“βœ“
Edit scanners in projectsβœ“
View image vulnerabilities listβœ“βœ“βœ“βœ“βœ“
Create project vulnerabilities listβœ“βœ“βœ“
Read project vulnerabilities listβœ“βœ“βœ“
Export project vulnerabilities listβœ“βœ“βœ“
View image build historyβœ“βœ“βœ“βœ“βœ“
Add/remove image tagsβœ“βœ“βœ“
View helm charts listβœ“βœ“βœ“βœ“βœ“
Download helm chartsβœ“βœ“βœ“βœ“βœ“
Upload helm chartsβœ“βœ“βœ“
Delete helm chartsβœ“βœ“
View helm chart versions listβœ“βœ“βœ“βœ“βœ“
Download helm chart versionsβœ“βœ“βœ“βœ“βœ“
Upload helm chart versionsβœ“βœ“βœ“
Delete helm chart versionsβœ“βœ“
Add/remove helm chart version tagsβœ“βœ“βœ“
View project robots listβœ“βœ“
Create/edit/delete project robotsβœ“
View configured CVE allowlistβœ“βœ“βœ“βœ“βœ“
Create/edit/remove CVE allowlistβœ“
View webhook eventsβœ“βœ“
Add new webhook eventsβœ“
Enable/disable webhooksβœ“
Create/delete tag retention rulesβœ“βœ“βœ“
Enable/disable tag retention rulesβœ“βœ“βœ“
Create/delete tag immutability rulesβœ“βœ“
Enable/disable tag immutability rulesβœ“βœ“
View project quotasβœ“βœ“βœ“βœ“βœ“
Delete the projectβœ“

The project administrator can use scanners already configured in Harbor for the project, but cannot add them to Harbor.

Harbor administrator responsibilities include:

  • Adding scanners.
  • Defining quotas for projects.
  • Granting administrator permission to another user. Members are for projects, users are system-wide. A user can be a member of a project.
  • Defining vulnerability scan policies for all projects.
  • Creating, modifying, and deleting users and projects.

An anonymous user is a user who is not logged into the system and can only have read-only access to public projects.

An automation account is used to create a system user to be used by another system.