[
https://issues.apache.org/jira/browse/COUCHDB-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15657207#comment-15657207
]
ASF GitHub Bot commented on COUCHDB-3231:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/couchdb-couch/pull/211
> Allow fixing users' documents
> -----------------------------
>
> Key: COUCHDB-3231
> URL: https://issues.apache.org/jira/browse/COUCHDB-3231
> Project: CouchDB
> Issue Type: Bug
> Reporter: ILYA
>
> The current VDU function for user doc is too strict. It accesses the roles
> and type fields of the current version of the document. This makes it
> impossible for the user to correct their users' documents. For example if the
> user have a document without type field they would have to delete the doc and
> recreate it again. We should allow adding missing fields. Also there is no
> reason to restrict the update of a type field from incorrect value to the
> correct one (currently it suppose to have value 'user').
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)