Gerrit身份验证:如何禁用匿名用户 [英] Gerrit authentication: how to disable anonymous user

查看:569
本文介绍了Gerrit身份验证:如何禁用匿名用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何阻止匿名用户查看我的项目活动.我已经用Google搜索了很多,但是找不到确切的文件,这些文件称为项目的访问控制列表.

How can i stop anonymous user to view my project activities in gerrit. I have googled enough but could'nt find what are exact files which are called Access Control List for project.

推荐答案

如果要禁止匿名用户浏览/阅读/搜索某个项目的所有更改,只需删除

If you want to disallow anonymous users to browse/read/search all the changes of a certain project, you just have to remove the Read permission for anonymous users from the project.

要被允许修改权限,您必须是该项目的管理员或所有者.

In order to be allowed to modify permissions, you have to be either Administrator or owner of that project.

要禁止匿名浏览,请按照以下步骤操作:

To disallow anonymous browsing, follow these steps:

  • 转到菜单中的项目> 列表
  • 单击项目名称(或 All-Projects ,如果要修改所有项目的默认名称(需要管理员))
  • 在子菜单中选择 Access ,然后点击 Edit 按钮.
  • 从*参考文献:refs/**使用右侧的 X Read 部分中删除 ALLOW匿名用户.
  • 点击保存更改
  • Go to Projects > List in the menu
  • Click on the project's name (or All-Projects, if you want to modify the default for all projects (requires being Administrator))
  • Choose Access in the submenu and hit the Edit button there.
  • From *Reference: refs/** remove in the Read section the ALLOW Anonymous Users using the X on the right side.
  • Hit Save changes

这篇关于Gerrit身份验证:如何禁用匿名用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆