How to remove a collection on the client side?

Hello Everyone,

Not sure I am understanding correctly how mongodb on client works - how to remove a collection when logging out only on the client side.

I assume the following:

  1. When i subscribe to a collection from the server side, the client side creates a mini mongo collection with the same name automatically.

  2. i am able to access the newly created client side collection within my template (so far so good).

  3. on logout i call: collectionName.remove( Meteor.userId() );

I get an error saying: “remove failed: Access denied”

How do i correctly remove the collection on the client side when logging out?