如果"提交者电子邮件地址与您的用户帐户不匹配,我怎样才能将提交提交给Gerrit"?

时间:2016-10-19 11:00:46

标签: gerrit http-authentication access-rights

Gerrit类型auth是http(apache2用于验证(文件用户密码))

当我尝试 推送起源HEAD:refs / for / master 我有错误:

remote: ERROR:  In commit 21875449d592efeb74543b836d7967e12befc944
remote: ERROR:  committer email address Workspace@Workspace-PC
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  You have not registered any email addresses.
remote: ERROR:
remote: ERROR:  To register an email address, please visit:
remote: ERROR:  https://my_gerrit_site:4432/gerrit/#/settings/contact

当我尝试注册新电子邮件时,我有" 500内部服务器错误" (据我所知,这个错误与gerrit类型auth有关)。 如果我属于组管理员,我没有这个问题。

1 个答案:

答案 0 :(得分:0)

我属于DEV组,我为项目添加了一些访问权限:

Reference: refs/heads/*
Forge Committer Identity
ALLOW DEV

它帮助了我