Gerrit authentication: how to disable anonymous user

前端 未结 1 1394
遇见更好的自我
遇见更好的自我 2021-01-13 06:20

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

1条回答
  •  情话喂你
    2021-01-13 07:15

    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

    0 讨论(0)
提交回复
热议问题