## Summary
Currently, enabling SecurePoll on a wiki always allows creating global elections, or elections on other wikis in the same wiki farm. This is undesired when a wiki wants to use SecurePoll to manage its local elections only.
We should introduce a config variable or permission to restrict this.
## Background
We'd like to allow local wikis to manage their local elections in-place instead of using votewiki, see T301180.
## Technical notes
TBD
## Acceptance criteria
* [ ] create a configuration variable such as $wgSecurePollAllowGlobalElectionCreation (boolean), defaulting to false
* [ ] write and deploy a patch to [[ https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/refs/heads/master/wmf-config/InitialiseSettings.php | initializeSettings.php ]] that adds this configuration variable to our wikifarm. code should be something like...
```php
'wgProofreadPageNamespaceIds' => [
'default' => false,
'votewiki' =>true,
],
```