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/09/04 17:51:16 UTC

[GitHub] eiri opened a new pull request #788: Pass user context when opening a doc in show handler

eiri opened a new pull request #788: Pass user context when opening a doc in show handler
URL: https://github.com/apache/couchdb/pull/788
 
 
   ## Overview
   
   A request to view's `_show` supposed to work on admin-only databases, such as `_users` when accessed with admin's privileges. This fix passes user context to fabric's `open_doc` allowing this to happen.
   
   ## Testing recommendations
   
   Included tests could be run as `make javascript suites=users_db_security`
   
   Also "Steps to Reproduce" from issue #653 should now work as expected.
   
   ## GitHub issue number
   
   Fixes #653 
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [x] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   
 
----------------------------------------------------------------
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