Meteor-Community-Packages / meteor-roles

Authorization package for Meteor, compatible with built-in accounts packages
http://meteor-community-packages.github.io/meteor-roles/
MIT License
921 stars 168 forks source link

Feature request: give option to name the publication #127

Closed davidecantini closed 9 years ago

davidecantini commented 9 years ago

As you correctly reported here and tested here, there's no way (as of Meteor 1.1) to know when subscriptions are ready if the publish has no name.

How about modifying the API to let users provide a name instead of hardcoding null in publish? (leaving the default to null like now, for legacy reasons of course).

Thank you in advance for your attention.

alanning commented 9 years ago

Hi @davidecantini, thanks for the suggestion. It's certainly a pain point and I appreciate the effort you put in researching this.

The next release of roles will change the publication to be named and also have a client-side subscription that will automatically be included. So existing functionality will be maintained while letting people detect when the sub is ready.

As far as timeframe goes, I hope to put out the next release by the end of Sept. but if not then definitely in Oct.

davidecantini commented 9 years ago

Hi @alanning, Sounds great. Looking forward to the next release. Thanks.