Gerrit authentication: how to disable anonymous user

主宰稳场 提交于 2019-12-01 04:45:51

问题


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.


回答1:


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:

  • 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


来源:https://stackoverflow.com/questions/19241341/gerrit-authentication-how-to-disable-anonymous-user

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!