当前位置:网站首页>Harbor2.2 quick check of user role permissions
Harbor2.2 quick check of user role permissions
2022-07-26 11:51:00 【Qiyan】
Harbor2.2 Quick check of user role permissions
System level roles :
- Harbor System administrator :“Harbor System administrator ” Have the most permissions . In addition to the above authorities ,“Harbor System administrator ” You can also list all the items 、 Set ordinary users as administrators 、 Delete users and set vulnerability scanning policies for all images . Public projects “ library ” It's also owned by the administrator .
- anonymous ( Non system administrator ): When the user is not logged in , This user is considered “ anonymous ” user . Anonymous users do not have access to private items , And have read-only access to public projects .
Project user role
Harbor
Provides “ project ”(project) The concept of , Each project corresponds to a namespace with the same name as the project (namespace) To preserve Artifact, Each namespace is an independent authorization unit , take Artifact Isolate .When using Docker Wait for the command line tool to Harbor Push and pull images Artifact when , This namespace is also URI An integral part of . Users need to be aware of Artifact To read and write , First of all, it should be added as a member of the project by the administrator , The specific permissions are determined by the role of the member . Members who join the project can have the following roles .


Harbor Mirror through project management . By including users in the project and assigning them one of the following roles , You can provide users with access to these images .

- Restricted visitors : Restricted visitors do not have full access to the item . They can pull images but not push , And they don't see logs or other members of the project . for example , You can create restricted visitors for users with shared project access from different organizations .
- visitor : The guest has read-only access to the specified item . They can pull and relabel images , But you can't push .
- developer : The developer has access to the project .
- Maintainer : Defenders have the power to transcend “ developer ” Authority , Including scanning images 、 View copy jobs and delete mirrors and helm charts The ability of .
- Project manager : When creating a new project , You will be assigned to the project “ProjectAdmin” role .“ProjectAdmin” In addition to read and write permissions , There are also some administrative permissions , Such as adding and deleting members 、 Start vulnerability scanning .
Full details of different role permissions
Users have different abilities , It depends on their role in the project .
In public projects , All users can view the repository list 、 Mirror image 、 Mirror holes 、helm charts and helm charts edition 、 Pull the mirror image 、 Relabel the image ( You need the push permission of the target image )、 download helm charts、 download helm charts edition .
The system administrator has all the permissions of the project .
Project member permissions

The following table describes the various user permission levels in the project .
| operation | Restricted visitors | visitor | developer | Maintainer | Project manager |
|---|---|---|---|---|---|
| View project configuration | * | * | * | * | * |
| Edit project configuration | * | ||||
| View the list of project members | * | * | * | * | |
| establish / edit / Delete project members | * | ||||
| View the list of project logs | * | * | * | * | |
| View the project replication list | * | * | |||
| View the list of project replication jobs | * | ||||
| View the list of item tags | * | * | |||
| establish / edit / Delete item tag | * | * | |||
| View the repository list | * | * | * | * | * |
| Create a repository | * | * | * | ||
| edit / Delete Repository | * | * | |||
| Check out the image list | * | * | * | * | * |
| Relabel the image | * | * | * | * | |
| Pull the mirror image | * | * | * | * | * |
| Push the mirror | * | * | * | ||
| scanning / delete mirror | * | * | |||
| Add a scanner to Harbor | |||||
| Edit the scanner in the project | * | ||||
| View the list of image vulnerabilities | * | * | * | * | * |
| Look at the mirror build history | * | * | * | * | * |
| add to / Delete mirror label | * | * | * | ||
| see helm charts list | * | * | * | * | * |
| download helm charts | * | * | * | * | * |
| Upload helm charts | * | * | * | ||
| Delete helm charts | * | * | |||
| see helm chart Version list | * | * | * | * | * |
| download helm chart edition | * | * | * | * | * |
| Upload helm chart edition | * | * | * | ||
| Delete helm chart edition | * | * | |||
| add to / Delete helm chart The label of the version | * | * | * | ||
| View the list of project robots | * | * | |||
| establish / edit / Delete project robot | * | ||||
| View configured CVE License list | * | * | * | * | * |
| establish / edit / Delete CVE License list | * | ||||
| see webhook event | * | * | |||
| Add new webhook event | * | ||||
| Enable / Ban webhook | * | ||||
| establish / Delete label retention rule | * | * | * | ||
| Enable / Disable label retention rules | * | * | * | ||
| establish / Delete label invariance rule | * | * | |||
| Enable / Disable label invariance rules | * | * | |||
| View project quotas | * | * | * | * | * |
| Edit project quota | * |
* Only Harbor System administrators can edit project quotas and add new scanners .
Reference link :
https://goharbor.io/docs/2.2.0/administration/managing-users/
Target quotas and add new scanners .
Reference link :
https://goharbor.io/docs/2.2.0/administration/managing-users/
https://goharbor.io/docs/2.2.0/administration/managing-users/user-permissions-by-role/
边栏推荐
- MLX90640 红外热成像仪测温传感器模块开发笔记(六)
- 国内11所“袖珍”大学!在校园跑步,还没加速就出校门了...
- On vio's IMU pre integration (the idea when I first started)
- 微服务化解决文库下载业务问题实践
- 7月27日19:30直播预告:HarmonyOS3及华为全场景新品发布会
- [error reported]exception: found duplicate column (s) in the data schema: `value`;
- PostgreSQL在Linux和Windows安装和入门基础教程
- Data Lake (19): SQL API reads Kafka data and writes it to iceberg table in real time
- 绝对路径打开文件相比数据库查询哪个更快?
- Programmer growth chapter 28: how can managers not do it by themselves?
猜你喜欢

Wulin headlines - station building expert competition

服务器内存故障预测居然可以这样做!

7月27日19:30直播预告:HarmonyOS3及华为全场景新品发布会

Hashtable

System call capture and analysis conclusion making system call log collection system

线上一个隐匿 Bug 的复盘

An online duplicate of a hidden bug

初试YOLOv7

如何使用数据管道实现测试现代化

4.1 configure MySQL and register login module
随机推荐
Colt DCS is serious about building a green data center!
PostgreSQL在Linux和Windows安装和入门基础教程
Ten year structure five year life-06 impulse to leave
Esp8266 Arduino programming example GPIO input and output
Modeling essay series 151 SCLC engineering experiment 4-sclc object
win10使用nvm安装node、npm、cnpm
零基础小白也能懂的 Redis 数据库,手把手教你易学易用!
Creation and modification of basic tables and data in them by SQL statements of SQL Server
开放原子开源基金会OpenHarmony工作委员会主席侯培新寄语OpenAtom OpenHarmony分论坛
Mlx90640 infrared thermal imager temperature sensor module development notes (6)
哈希表
Data type of SQL Server database
MILA旗下初创企业Ubenwa获得250万美元投资,研究婴儿健康AI诊断
3dunity game project actual combat - aircraft war
你敢信?开发一个管理系统我只用了两天时间
SQL statement of SQL server creates database
ESP8266-Arduino编程实例-GPIO输入和输出
[error reporting] what do you read in the log
元宇宙GameFi链游系统开发NFT技术
国内11所“袖珍”大学!在校园跑步,还没加速就出校门了...