Index: trunk/extensions/CentralAuth/CentralAuthPlugin.php |
— | — | @@ -137,7 +137,8 @@ |
138 | 138 | function autoCreate() { |
139 | 139 | global $wgGroupPermissions; |
140 | 140 | // Yes unless account creation is restricted on this wiki |
141 | | - return !empty( $wgGroupPermissions['*']['createaccount'] ); |
| 141 | + return !empty( $wgGroupPermissions['*']['createaccount'] ) |
| 142 | + || !empty( $wgGroupPermissions['*']['centralauth-autoaccount'] ); |
142 | 143 | } |
143 | 144 | |
144 | 145 | /** |
Index: trunk/extensions/CentralAuth/CentralAuth.php |
— | — | @@ -203,6 +203,8 @@ |
204 | 204 | $wgAvailableRights[] = 'centralauth-oversight'; |
205 | 205 | $wgAvailableRights[] = 'globalgrouppermissions'; |
206 | 206 | $wgAvailableRights[] = 'globalgroupmembership'; |
| 207 | +$wgAvailableRights[] = 'centralauth-autoaccount'; |
| 208 | + |
207 | 209 | $wgGroupPermissions['steward']['centralauth-unmerge'] = true; |
208 | 210 | $wgGroupPermissions['steward']['centralauth-lock'] = true; |
209 | 211 | $wgGroupPermissions['steward']['centralauth-oversight'] = true; |