From 53302fbe52b2a8375297edc003f5fc7cd261b9ed Mon Sep 17 00:00:00 2001 From: Mike Wallace Date: Mon, 10 Nov 2014 23:44:47 +0000 Subject: [PATCH] Export get_view_callback/3 for use by chttpd In order to provide the expected security for the _users DB on the clustered interface, chttpd needs to use get_view_callback/3 so it can use either view_cb/2 (normal case) or filtered_view_cb/2 (for the _users DB). COUCHDB-2452 --- src/couch_mrview_http.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl index fa933e7..7dd071a 100644 --- a/src/couch_mrview_http.erl +++ b/src/couch_mrview_http.erl @@ -33,7 +33,8 @@ view_cb/2, row_to_json/1, row_to_json/2, - check_view_etag/3 + check_view_etag/3, + get_view_callback/3 ]). -include_lib("couch/include/couch_db.hrl").