rnewson opened a new pull request #3947:
URL: https://github.com/apache/couchdb/pull/3947


   ## Overview
   
   The _replication_* fields are reserved for couchdb internal usage (indicated 
by the underscore prefix). Nonetheless the replicator docs are still editable 
by local admins. In order not to mislead them into thinking that editing these 
fields has any intentional effect, this PR prevents them from saving an update 
that changes any of these fields.
   
   ## Testing recommendations
   
   Try to change these fields as an admin (one without the reserved _replicator 
role) and confirm it fails.
   
   ## Related Issues or Pull Requests
   
   N/A
   
   ## Checklist
   
   - [x] Code is written and works correctly
   - [ ] Changes are covered by tests
   - [ ] Any new configurable parameters are documented in 
`rel/overlay/etc/default.ini`
   - [ ] A PR for documentation changes has been made in 
https://github.com/apache/couchdb-documentation
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to