You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/10/03 00:56:33 UTC
[GitHub] wohali opened a new pull request #862: [WIP] Configurably whitelist certain db/docids as valid
wohali opened a new pull request #862: [WIP] Configurably whitelist certain db/docids as valid
URL: https://github.com/apache/couchdb/pull/862
Currently, it is impossible to `PUT/POST` these documents:
* `_dbs/_users`
* `_dbs/_replicator`
* `_dbs/_global_changes`
because the document `_ids` are reserved. This change permits these
specific `db/docid` combinations as valid so `PUT/POST` operations can
succeed. The specific list is configurable.
This is a WIP to make sure the approach is acceptable. I had to dig
really deep into `couch_doc` to make these changes, and while I'm not
very happy with the encapsulation violation it introduces, I'm afraid we
have little choice without a complete rewrite.
If the approach is acceptable, proper tests will be forthcoming:
* config checks
* `PUT/POST` positive and negative test cases
/cc @davisp @rnewson @nickva
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services