summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2020-01-03 18:27:06 +0100
committerJan Lehnardt <jan@apache.org>2020-01-03 18:27:06 +0100
commitab46030b5c669b54d1aea96806a460a67232344b (patch)
treed1d4b7ab231d8f3bc636be9454d8cc1de6f93fed
parentbd64cdfdbcca98edf52194e5e678a7735ccb956f (diff)
downloadcouchdb-ab46030b5c669b54d1aea96806a460a67232344b.tar.gz
add repliation plan
-rw-r--r--src/couch/test/couchdb_access_tests.erl13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/couch/test/couchdb_access_tests.erl b/src/couch/test/couchdb_access_tests.erl
index cd62fbead..ee6432f62 100644
--- a/src/couch/test/couchdb_access_tests.erl
+++ b/src/couch/test/couchdb_access_tests.erl
@@ -108,6 +108,19 @@ access_test_() ->
fun should_allow_admin_users_access_ddoc_view_request/2,
fun should_allow_user_users_access_ddoc_view_request/2
+ % replication
+ % admin should be able to replicate all docs
+ % - from access to access
+ % - from no-access to access
+ % - from access to no-access
+ % - from no-access to no-access while retainting _access for docs
+ % user should be able to replicate:
+ % - access to access
+ % - access to no-access
+ % - no-access (w/ _access docs) to _access
+
+
+
% TODO: create test db with role and not _users in _security.members
% and make sure a user in that group can access while a user not
% in that group cant