An instance that was previously working without problems now fails various tests due to permissioning problems caused by changes in https://gerrit.wikimedia.org/r/#/c/221313/5 which introduce user_factory. It should be possible to have an environment which doesn't use the user_factory
Errors include:
- You do not have the right to create a new account (permdenied-createaccount) (MediawikiApi::ApiError)
- You're not allowed to edit interface messages (protectednamespace-interface)
- Certain tests made assumptions (wrongly or rightly) that the user would have things on their watchlist/or an edit count and tests fail due to this
To workaround I had to do $wgGroupPermissions['*']['createaccount'] = true;
( in my LocalSettings ($wgGroupPermissions['user']['createaccount'] = true; would not work)
Rights to create an account needed for page creation
Please can we
Report is as follows:
Feature: Notification
Background: # features/notification.feature:4 You do not have the right to create a new account (permdenied-createaccount) (MediawikiApi::ApiError) /var/lib/gems/2.1.0/gems/mediawiki_api-0.4.1/lib/mediawiki_api/client.rb:167:in `send_request' /var/lib/gems/2.1.0/gems/mediawiki_api-0.4.1/lib/mediawiki_api/client.rb:188:in `raw_action' /var/lib/gems/2.1.0/gems/mediawiki_api-0.4.1/lib/mediawiki_api/client.rb:30:in `action' /var/lib/gems/2.1.0/gems/mediawiki_api-0.4.1/lib/mediawiki_api/client.rb:44:in `create_account' /var/lib/gems/2.1.0/gems/mediawiki_selenium-1.4.0/lib/mediawiki_selenium/user_factory.rb:38:in `create_account' /var/lib/gems/2.1.0/gems/mediawiki_selenium-1.4.0/lib/mediawiki_selenium/user_factory.rb:30:in `create' /var/lib/gems/2.1.0/gems/mediawiki_selenium-1.4.0/lib/mediawiki_selenium/support/modules/user_factory_helper.rb:25:in `block (2 levels) in <module:UserFactoryHelper>' /var/lib/gems/2.1.0/gems/mediawiki_selenium-1.4.0/lib/mediawiki_selenium/support/modules/api_helper.rb:17:in `api' /var/lib/gems/2.1.0/gems/mediawiki_selenium-1.4.0/lib/mediawiki_selenium/support/hooks.rb:48:in `Before'