By default, logged-in users in Harbor registry can create projects. This can be a mess in uncontrolled environments with hundreds to thousands of users. I find it more apt to restrict standard users from creating projects and delegate this task to the SysAdmin team.

In this blog post, we will talk about how you can prevent users from creating projects in Harbor registry dashboard. This is a simple task which doesn’t require any prior knowledge of Linux, containers and registry administration.

You need to have created Harbor registry before you can proceed. We have a guide which you can follow along to install and configure Harbor registry on Linux.

Prevent users from Creating Projects in Harbor registry

Login to Harbor as Admin user and navigate to Configuration > System Settings

prevent users from creating projects in harbor

Select “Admin Only” under Project Creation dropdown, and Save the changes.

Before the change, all logged-in users could create projects.

prevent users from creating projects in harbor 01

Re-login and notice there is no “NEW PROJECT” button.

prevent users from creating projects in harbor 02

You have successfully disabled users from Creating new Projects in Harbor registry. You can create a project and grant users access manually.

Similar articles:

How To Integrate Harbor Registry With LDAP for user Authentication

How To Install Harbor Docker Image Registry on CentOS / Debian / Ubuntu

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here