You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2017/03/01 16:38:42 UTC
[44/50] fabric commit: updated refs/heads/2971-count-distinct to
5d18415
Add admin ctx on open ddoc in group_info
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/f9f56813
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/f9f56813
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/f9f56813
Branch: refs/heads/2971-count-distinct
Commit: f9f568138ff24f4769b5047f13f4db7a7f3ce94a
Parents: ec22351
Author: Eric Avdey <ei...@eiri.ca>
Authored: Tue Jan 24 13:25:41 2017 -0400
Committer: Eric Avdey <ei...@eiri.ca>
Committed: Tue Jan 24 13:25:53 2017 -0400
----------------------------------------------------------------------
src/fabric_group_info.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/f9f56813/src/fabric_group_info.erl
----------------------------------------------------------------------
diff --git a/src/fabric_group_info.erl b/src/fabric_group_info.erl
index f6ed9cb..8383a7e 100644
--- a/src/fabric_group_info.erl
+++ b/src/fabric_group_info.erl
@@ -19,7 +19,7 @@
-include_lib("couch/include/couch_db.hrl").
go(DbName, GroupId) when is_binary(GroupId) ->
- {ok, DDoc} = fabric:open_doc(DbName, GroupId, []),
+ {ok, DDoc} = fabric:open_doc(DbName, GroupId, [?ADMIN_CTX]),
go(DbName, DDoc);
go(DbName, #doc{id=DDocId}) ->