Page MenuHomePhabricator

Allow all users to view current configuration by going to Special:EditGrowthConfig
Closed, ResolvedPublic

Description

Background

We want community configuration to be an user-accessible way to manage configuration of Growth team's features. Currently, the Special:EditGrowthConfig form only allows people to edit configuration, and for non-privileged users, it just displays a permission denied error.

Task objective

Instead of erroring out after permission check fails, display the form as usually, but with disabled fields, so users can view, but not edit, the configuration.

Also see " Only administrators or interface-admins should be allowed to edit the form. But all users should be allowed to view the form with its current values." from the parent task, T274031.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Just a thought, but maybe this could go on a separate Special page ("Special:GrowthConfig" for example), bonus points if that Special page provides other info from T249987: Scale: GrowthExperiments wiki monitoring dashboard.

That might be more straightforward than providing a dual-purpose read/write / read-only Special:EditGrowthConfig page.

Change 700930 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] Allow all users to view current configuration by going to Special:EditGrowthConfig

https://gerrit.wikimedia.org/r/700930

Urbanecm_WMF moved this task from Incoming to Code Review on the Growth-Team (Current Sprint) board.
Urbanecm_WMF moved this task from Untriaged to Engineering on the User-Urbanecm_WMF board.

Change 700930 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Allow all users to view current configuration by going to Special:EditGrowthConfig

https://gerrit.wikimedia.org/r/700930

Moving to QA. This should open Special:EditGrowthConfig for unprivileged users, but without the edit capabilities (only for viewing). I'd appreciate making sure it's not possible to change config unless you're a sysop in any way.

Etonkovidova added a subscriber: Etonkovidova.

Checked in wmf.12 - Special:EditGrowthConfig (without editing functionality) is displayed to anon users and to users that are only in Users group.

Just double checking - @Urbanecm_WMF, @MMiller_WMF - the title of the pageSpecial:EditGrowthConfig is Edit Growth configuration. Is the title (and the text) representative enough?