0

我已经安装了带有 http auth 类型的 gerrit。现在我想添加审阅者和用户。如何添加用户?

我曾尝试使用 gerrit web ui 添加用户。没有没有回应。

4

1 回答 1

0

如果我们使用 auth 类型作为 http,我们需要通过命令行添加用户/审阅者。

猫 ~/.ssh/id_watcher.pub | ssh -p 29418 review.example.com gerrit create-account --group "'Non-Interactive Users'" --ssh-key - watcher

其中 watcher 是用户名,Non-Interactive Users 是组名。

于 2017-05-17T05:33:10.723 回答