From: Gergő Tisza Date: Mon, 5 Aug 2019 09:40:35 +0000 (+0200) Subject: Allow basic grant holders to autocreate accounts X-Git-Tag: 1.34.0-rc.0~718^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=a5115df4a59cf7c84e1990a1d718c6b9206b7195 Allow basic grant holders to autocreate accounts This allows OAuth apps to create a local account if the user has a compatible central account (and the 'basic' grant, ie. not identification-only). Bug: T149672 Change-Id: Idca81bb97c73a93199b7b321c09a9ae9e7f17f68 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index a3772b9040..197a6f02f2 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -5796,6 +5796,7 @@ $wgGrantPermissions = []; // @TODO: clean up grants // @TODO: auto-include read/editsemiprotected rights? +$wgGrantPermissions['basic']['autocreateaccount'] = true; $wgGrantPermissions['basic']['autoconfirmed'] = true; $wgGrantPermissions['basic']['autopatrol'] = true; $wgGrantPermissions['basic']['editsemiprotected'] = true;