Hi everyone,
I’m having a permission issue while pushing a patch to a changes created from another user. The repos I’m having troubles with are these ones (and probably more?):
https://gerrit.googlesource.com/plugins/analytics
https://gerrit.googlesource.com/plugins/analytics-wizard
Despite me being part of the plugin-analytics and plugin-analytcis-wizard groups, when I fetch a change set created by another user and I try to push to it, I get this error: “cannot add patch set to XXXXX”
Here an example:
➜ analytics git:(master) git fetch https://gerrit.googlesource.com/plugins/analytics refs/changes/74/201874/5 && git checkout FETCH_HEAD
… hack hack hack …
➜ analytics git:(fc0ccc8) ✗ git commit --amend
[detached HEAD 475551c] Work In Progress: attempt to fix aggregation by branch
Author: Antonio Barone <synt...@gmail.com>
Date: Fri Oct 26 18:21:44 2018 +0300
8 files changed, 72 insertions(+), 38 deletions(-)
➜ analytics git:(475551c) git push origin HEAD:refs/for/master
Enumerating objects: 50, done.
Counting objects: 100% (50/50), done.
Delta compression using up to 8 threads
Compressing objects: 100% (16/16), done.
Writing objects: 100% (28/28), 2.74 KiB | 1.37 MiB/s, done.
Total 28 (delta 12), reused 0 (delta 0)
remote: Resolving deltas: 100% (12/12)
remote: Processing changes: refs: 1, done
To https://gerrit.googlesource.com/plugins/analytics
! [remote rejected] HEAD -> refs/for/master (cannot add patch set to 201874.)
error: failed to push some refs to 'https://gerrit.googlesource.com/plugins/analytics'
Does anybody know what the issue can be on how I can investigate it?
Thanks,
Fabio
Luca seems to have removed "Add Patch Set" permission for registered users, and there seems to be none for project owners:
https://gerrit.googlesource.com/plugins/analytics/+/refs/meta/config%5E%21/
/Gustaf
On 29 Oct 2018, at 14:34, Gustaf Lundh <gustaf...@axis.com> wrote:Luca seems to have removed "Add Patch Set" permission for registered users, and there seems to be none for project owners: