How to give access to all users to doc created by admin api?

#1

I am using CBL 1.0.4 , sync gateway 1.0.3 i am creating doc using put method . http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/document/put---db---doc-/index.html now i need to access to every user channel ‘Schema’ how can i do this my sync function
function (doc, oldDoc) {
channel(‘Schema’);
}

#2

Hey,

I’m sorry, I’m not sure I understand fully what you’re looking to do.

Could you please explain in a bit more detail?

Thanks,

Matthew.