Sorry, hit send to fast. :(
2013/12/9 Stefan Klein <[email protected]>
> Hi couch users,
>
> i got some application specific data in my user documents and have to make
> one of the fields visible to other users.
> public_field works fine, for top level fields. I try to make a sub field
> visible.
>
> {
> "_id": "org.couchdb.user:someuser",
> "_rev": "somerev",
> "appData" : {
> "field" : "should be visible",
> "secretfield" : "should not be visible"
> }
>
i tried
[couch_httpd_auth]
public_fields = appData.field
and
public_fields = appData[field]
both didn't work, so i guess it is not possible and public_fields only work
on top level fields?
Thanks,
Stefan