hoodiehq/hoodie-plugins-manager — pull request #2 by allain (2013-09-29 21:38:51+00:00)
Title: Fix for issue hoodie-server/issues/140

fix for https://github.com/hoodiehq/hoodie-server/issues/140
which is itself caused by https://issues.apache.org/jira/browse/COUCHDB-1888

This may not be the right place for doing this, but it seemed logical given that it deals with account management, and the change event would receive empty documents otherwise.

Also, the list of fields is hard coded. I thought a dynamic approach to specifying the fields to make public was the right approach, but doing it without accidentally exposing secure information that a future plugin might introduce to the user documents is going to be a tricky thing to do.