Page MenuHomePhabricator

Remove "Edit protected pages" grant option from Special:AppManagement
Closed, ResolvedPublic

Description

T290790: Group OAuth grants by riskiness indicates to users that including admin-level permissions in their app requests make them less likely to be approved. Unfortunately, ApiPortal has its own implementation of requesting new OAuth 2 apps, and there are no warnings there, so we get lots of requests with "Edit protected pages" checked (for some reason, the only advanced grant available via that interfaces), which are then often rejected, a waste of time for everyone involved.

Since the idea behind Special:AppManagement is to have a simple, minimal UI for the most common OAuth 2 use cases, and editing protected pages is very decidedly not a common use case, I think the easiest thing to do would be to just remove that grant option (and maybe add a link to Special:OAuthConsumerRegistration for more complex use cases).

Event Timeline

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

Change #1121057 had a related patch set uploaded (by Alex Paskulin; author: Alex Paskulin):

[mediawiki/extensions/WikimediaApiPortalOAuth@master] form: Remove editprotected scope

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

Change #1121057 merged by jenkins-bot:

[mediawiki/extensions/WikimediaApiPortalOAuth@master] form: Remove editprotected scope

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

DAlangi_WMF assigned this task to apaskulin.