couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikewall...@apache.org
Subject couch-mrview commit: updated refs/heads/2452-users-db-security-on-clustered-interface to 53302fb
Date Tue, 11 Nov 2014 00:23:35 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/2452-users-db-security-on-clustered-interface [created] 53302fbe5


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


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/53302fbe
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/53302fbe
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/53302fbe

Branch: refs/heads/2452-users-db-security-on-clustered-interface
Commit: 53302fbe52b2a8375297edc003f5fc7cd261b9ed
Parents: 28e51f3
Author: Mike Wallace <mikewallace@apache.org>
Authored: Mon Nov 10 23:44:47 2014 +0000
Committer: Mike Wallace <mikewallace@apache.org>
Committed: Mon Nov 10 23:44:47 2014 +0000

----------------------------------------------------------------------
 src/couch_mrview_http.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/53302fbe/src/couch_mrview_http.erl
----------------------------------------------------------------------
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").


Mime
View raw message