Page MenuHomePhabricator

Make CommunityConfiguration support providers that are editable by non-admins
Closed, DuplicatePublic

Description

In T360919: Design: Special:CommunityConfiguration should display in an inactive state to non-administrators, we're ensuring non-administrators see all providers at Special:CommunityConfiguration as disabled. This does not necessarily have to be always the case – for example, aspects related to how AbuseFilter operates could be delegated to abuse filter maintainers, who necessarily do not need to be administrators. It would also be potentially useful to let mentors determine how mentorship work like themselves, without having to escalate to an administrator.

Within this task, we should ensure client extensions can specify a lower permission for providers, giving access to non-admins as well. This task does not include support for providers that even admins are unable to edit (this is not practical, as the configuration is stored in NS_MEDIAWIKI, which is directly editable by any administrator).

We also need to ensure it is clear from visiting Special:CommunityConfiguration, which providers you are able to modify, and which providers are available as read-only only.