gerrit - 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.
解决方案
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.
推荐阅读
- c# - 将 textbox.text 乘以 combobox.text 并将结果显示到 textbox.text
- sql-server - SQL Server - 连接两个具有不同值的表
- python - Django在表格中逐行编辑
- haskell - 如何编写标准测试?
- google-maps - 更改默认谷歌地图标记大小
- excel - VBScript 转换文件并用未知密码锁定文件
- prestashop - 如何用 %% 翻译字符串
- python - 为什么 cv2.bilateralFilter 对于不同的数据类型表现如此不同?
- spyder - QGIS,gdal 从 conda forge 安装,但 Spyder 中没有代码完成绑定
- html - 使用 CSS 将水平表格转换为垂直表格