Grant access to a document to all users


Is there a way to allow all the users to access to a specific document without knowing the users in advance?

I CAN’T do this:

if(doc.type == "document_to_share") {

The document must be accessible by all users by default.


From the docs: “A document tagged with * is readable by any user”

What does it mean? How can i “tag” a document with *?



You can map a document to the built-in public channel, the channel is accessible to all users and in the sync function is referenced as the ! channel.

if(doc.type == "document_to_share") {
1 Like


Could you paste a link to the docs you referenced above with regard to “A document tagged with * is readable by any user”, I’d like to review that in context to make sure the statement is correct.