Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gerrit authentication: how to disable anonymous user

Tags:

gerrit

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.

like image 751
faisalbhagat Avatar asked Oct 08 '13 07:10

faisalbhagat


People also ask

How do I turn off anonymous login?

Scroll to the Security section in the Home pane, and then double-click Authentication. In the Authentication pane, select Anonymous Authentication, and then click Disable in the Actions pane.

How do I enable anonymous access on Nexus?

Make sure anonymous access is enabled in Security > Realms. Verify that the "local authenticating realm" and "local authorizing realm" are in the active realm list. 4. Make sure anonymous access is enabled.


1 Answers

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
like image 71
StephenKing Avatar answered Dec 14 '22 20:12

StephenKing