Page MenuHomePhabricator

Allow wmf-deployment to remove votes from changes in wmf branches
Closed, ResolvedPublic

Description

Ocasionally, it's necessary to remove a vote from change against a wmf branch (see https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AbuseFilter/+/525598 as an example). wmf-deployment can't do this now, and as such, deployment of those changes by a member of wmf-deployment who's not in mediawiki group requires getting somebody who is, just to remove the vote in question. Could we grant wmf-deployment this ability too? Thanks!

Event Timeline

Krinkle subscribed.

I support this proposal.

I support this, too, having wmf-deployment people able to deploy is their main reason why this group exists.

Florian rescinded a token.
Florian awarded a token.

Seems there are no objections? Could an admin handle this, please?

I would guess that is done in the mediawiki parent project https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki,access . It has:

Remove Reviewer

l10n-bot-watcher
mediawiki

The mediawiki group ( https://gerrit.wikimedia.org/r/#/admin/groups/11,members ) has a bunch of people and include the groups:

ldap/ops
ldap/wmf
wmde-mediawiki

So I guess that is an odd case of someone being in the wmf-deployment group and not being in the mediawiki one. Maybe we can have mediawiki to also include wmf-deployment in addition to ldap/ops, ldap/wmf and wmde-mediawiki?

I would guess that is done in the mediawiki parent project https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki,access . It has:

Remove Reviewer

l10n-bot-watcher
mediawiki

The mediawiki group ( https://gerrit.wikimedia.org/r/#/admin/groups/11,members ) has a bunch of people and include the groups:

ldap/ops
ldap/wmf
wmde-mediawiki

So I guess that is an odd case of someone being in the wmf-deployment group and not being in the mediawiki one. Maybe we can have mediawiki to also include wmf-deployment in addition to ldap/ops, ldap/wmf and wmde-mediawiki?

Hmm, that would extend the ability of wmf-deployment to review all MediaWIki patches, which is above it is now, technically. I agree there shouldn't be a problem of trust (deployers are able to deploy any MediaWiki change, reviewed or not), but will wmf-deployment (alone) ever need to +2 a MW patch in master?

I would guess that is done in the mediawiki parent project https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki,access . It has:

Remove Reviewer

l10n-bot-watcher
mediawiki

The mediawiki group ( https://gerrit.wikimedia.org/r/#/admin/groups/11,members ) has a bunch of people and include the groups:

ldap/ops
ldap/wmf
wmde-mediawiki

So I guess that is an odd case of someone being in the wmf-deployment group and not being in the mediawiki one. Maybe we can have mediawiki to also include wmf-deployment in addition to ldap/ops, ldap/wmf and wmde-mediawiki?

Hmm, that would extend the ability of wmf-deployment to review all MediaWIki patches, which is above it is now, technically. I agree there shouldn't be a problem of trust (deployers are able to deploy any MediaWiki change, reviewed or not), but will wmf-deployment (alone) ever need to +2 a MW patch in master?

maybe to fix an UBN by reverting a recent patch - it shouldn't be backported and deployed until its merged to master

Legoktm subscribed.

Ping? :)

Sorry I didn't see this earlier, I've fixed the project tags as this is a request for a permissions change. I think this makes sense, but I'd like to wait the week per policy in case anyone else has comments.

@Legoktm I tried to create a config patch to grant Remove Reviewer which I believe is the permission needed, but Error 409 (Conflict): project state READ_ONLY does not permit write

@Legoktm and/or other gerrit admins: Ping? :-)

Thanks! It works now (through I had to use my test acc to actually test, as I got +2 in mediawiki/* in the meantime). Anyway, thanks!