Closed clochix closed 8 years ago
POST /{db}/_all_docs is for getting multiple docs in one request. To allow it and be sure to respect the permissions, it's enough to check the doctype for each of the returned documents. There are no streaming issues or timeout like for other methods used in replication, so it shouldn't too complicated.
Requested by @kosssi
URL
POST /replication/_all_docs?include_docs=true
are not allowed by checkPermissionsPostReplication.@kosssi would like to allow them. We must be very cautious of the security implications