1

I'm making a website with Telescope, and I don't want to publish some information about the user.

I'm trying to make it so it won't publish singleUser in the telescope users publications.

I could do this by downloading the telescope package and removing that code, but I don't want to modify the telescope source code, as recommended here.

I couldn't find any way to unpublish a meteor collection. And when I try to make my own Meteor.publish('singleUser', function() {});, I get the warning Ignoring duplicate publish named 'singleUser'.

Any advice on how to unpublish, or undo a published collection is helpful.

zenev
  • 13
  • 5
  • I think in this case you'll have to modify the source code, sorry. But what information do you not want to publish? By default Telescope only publishes pretty standard stuff. – Sacha Dec 20 '15 at 09:35
  • @Sacha Alright. I'm trying to make it so someone who isn't an admin can't see any info from the other users. So I don't want to publish the public properties that are published with `singleUser`. – zenev Dec 21 '15 at 08:58
  • Well by default very little information is published already. But you could always remove User fields and re-add them with `public: false` (although that'll probably break some stuff). – Sacha Dec 22 '15 at 09:30

0 Answers0