[
https://issues.apache.org/jira/browse/COUCHDB-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15657206#comment-15657206
]
ASF subversion and git services commented on COUCHDB-3231:
----------------------------------------------------------
Commit 5763fd772e1dad300cbe66a7b8c48d62bd0417e6 in couchdb-couch's branch
refs/heads/master from ILYA Khlopotov
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch.git;h=5763fd7 ]
Allow fixing users' documents
Allow adding missing fields:
- type
- roles
Allow update of the type field from incorrect value to the correct one
(currently it suppose to have value 'user').
COUCHDB-3231
> 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)