Hi,
big thx for your explanations. Now it makes more sense but still I have
some questions:
On 16.10.2012 13:55, Edwin Kempin wrote:
> 2012/10/16 Peter Niederlag <
peter.n...@googlemail.com>
[...]
> Yes, this is related. As you can see from the commit message the idea was
> to disallow assigning
> the push access for refs/meta/config on the All-Project project, because
> this effectivly makes the user a Gerrit admin.
Well, if I am Owner or Member of the "All-Project" project and have push
permissions this seems to be fine for me. Why is this so bad?
This only gets bad if I assign some push right on refs/meta/config for
"anonymous" or "registered" groups. as long as I have control over the
group and its members that I assign push to "refs/meta/config" this
really seems fine to me. Probably overlooking something?
"All-Project" refs/meta/config push/write/update seems to be kind of
pretty much Gerrit admin terrain anyway, isn't it?
> The current situation is a bit of a mess:
> 1. You can still assign the push access right on the All-Projects project
> for 'refs/meta/*' or 'refs/*',
> which makes the user have it for 'refs/meta/config' as well
> 2. Even as Gerrit admin you need to have the push access right for
> refs/meta/config, which is bad if you can't assign it...
> currently it's possible due to 1.
> There is definitely a need to fix this.
Actually I don't even care that much for the config of the "All Project"
itself. Due to some refactoring of group and project names we just need
to be able to batch update all refs/meta/config via a script/batch role
and ran into this issue.
So actually we are looking into a proper way to grant access on
refs/meta/config of "any" project for admins. Giving project owners
access to refs/meta/config could be nice but acually probably not really
required.
[...]
Thx and Greets,
Peter