diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-05-02 20:23:27 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-05-02 20:48:05 +0100 |
commit | ba28a5fcd63144ec85f7a9ba440abc3306299039 (patch) | |
tree | f8fd158ef9ab30fd7e6bddeccb4387772e47bb8e /conf | |
parent | 9b6a6fd63daacf67cddb4f5ab7bbcd0375082696 (diff) |
Add MAPIT_ID_WHITELIST configuration option.
This allows someone to restrict FixMyStreet's usage to specific MapIt
IDs rather than a whole MapIt type. This is currently most useful
with Global MapIt as you probably don't want e.g. all the O04s in the
world for your installation.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/general.yml-example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example index 4a06a2aff..d30c494ca 100644 --- a/conf/general.yml-example +++ b/conf/general.yml-example @@ -72,6 +72,12 @@ GEO_CACHE: '../cache/' MAPIT_URL: '' MAPIT_TYPES: [ 'ZZZ' ] +# If you are using global MapIt, you might want to restrict FixMyStreet usage +# to only one or more areas, rather than all O04, for example. Provide MapIt +# IDs here in a list that FixMyStreet should recognise. +# MAPIT_ID_WHITELIST: [ 240838, 246176, 246733 ] +MAPIT_ID_WHITELIST: [] + # If your MapIt has the concept of council wards (subareas of councils, where # people can sign up for alerts, but not report things), then you can give the # MapIt type codes for them here. |