首页 > 解决方案 > Able to sign-in any user in gerrit

问题描述

Why am I able to switch to any user from the web UI. I have attached the screenshot below. If I click on admin or gerrit_user1 from any of the systems in the network I am able to login as that user.enter image description here

标签: gerrit

解决方案


Your Gerrit server is configured as "DEVELOPMENT_BECOME_ANY_ACCOUNT". There's the following configuration in the GERRIT-SITE/etc/gerrit.config file:

[auth]
    type = DEVELOPMENT_BECOME_ANY_ACCOUNT

When this is the configured authentication method, you can enter the username of any existing user account, and immediately login as that account, without any authentication taking place. This isn't the usual way to work with Gerrit.

See more info at Gerrit documentation here.


推荐阅读