diff options
-rw-r--r-- | config/general.yml-example | 6 | ||||
-rw-r--r-- | lib/configuration.rb | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/config/general.yml-example b/config/general.yml-example index b8d9fc854..1f6157dea 100644 --- a/config/general.yml-example +++ b/config/general.yml-example @@ -214,3 +214,9 @@ USE_MAILCATCHER_IN_DEVELOPMENT: true # only have an effect in environments where # config.action_controller.perform_caching is set to true CACHE_FRAGMENTS: true + +# Allow some users to make batch requests to multiple authorities. Once +# this is set to true, you can enable batch requests for an individual +# user via the user admin page. + +ALLOW_BATCH_REQUESTS: false diff --git a/lib/configuration.rb b/lib/configuration.rb index 2192433f7..bd705b777 100644 --- a/lib/configuration.rb +++ b/lib/configuration.rb @@ -18,6 +18,7 @@ module AlaveteliConfiguration DEFAULTS = { :ADMIN_PASSWORD => '', :ADMIN_USERNAME => '', + :ALLOW_BATCH_REQUESTS => false, :AVAILABLE_LOCALES => '', :BLACKHOLE_PREFIX => 'do-not-reply-to-this-address', :BLOG_FEED => '', |